While certainly useful at times, we recommend keeping the bulk of the configuration in a (versioned) build script, readily available to everyone. ![]() credentials), environment information, or for ad-hoc configuration. ![]() This can be useful when dealing with sensitive information (e.g. SonarQube properties can also be set from the command line, or by setting a system property named exactly like the SonarQube property in question. Property "sonar.exclusions", "**/*Generated.java" The SonarScanner for Gradle adds a SonarQubeExtension extension to the project and its subprojects, which allows you to configure/override the analysis properties. Passing manual properties / overriding defaults For Gradle 2.1+, apply the SonarQube plugin dependency to your adle file below: plugins # gradle.propertiesįirst, you need to activate the scanner in your build. Be aware that the scanner uses system properties so all properties should be prefixed by systemProp. A good place to configure global properties is ~/.gradle/gradle.properties. Installation is automatic, but certain global properties should still be configured.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |