Created
May 5, 2016 17:58
-
-
Save jordanjoz1/68bfdb7ba5f5fa445abae1672a29844f to your computer and use it in GitHub Desktop.
sample sonarqube properties for Gradle file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'org.sonarqube' | |
sonarqube { | |
properties { | |
// required metadata | |
property "sonar.projectKey", "android" | |
property "sonar.projectName", "Android Development" | |
property "sonar.projectVersion", "${version}" | |
// path to source directories (required) | |
property "sonar.sources", "src" | |
// other configs | |
property "sonar.java.source", "7" | |
// Android Lint | |
property "sonar.android.lint.report", "build/outputs/lint-results.xml" | |
// Github plugin | |
property "sonar.github.oauth", "<oauth-code-for-user-who-will-comment>" | |
property "sonar.github.repository", "<org>/<repo>"" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment