Configuration in build.gradle
sonarRunner {
sonarProperties {
property "sonar.host.url", "http://localhost.204:9000/sonar"
property "sonar.jdbc.url", "jdbc:mysql://localhost:3306/sonarnew?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true"
property "sonar.jdbc.driverClassName", "com.mysql.jdbc.Driver"
property "sonar.jdbc.username", "foo"
property "sonar.jdbc.password", "****"
property "sonar.login", "bar"
property "sonar.password", "***"
property "sonar.sources", "src/main"
property "sonar.java.binaries", "build/intermediates/classes/debug/com/"
property "sonar.projectKey", "Myapp::Android"
property "sonar.projectName", "Myapp::Android"
property "sonar.projectVersion", "myversion"
property "sonar.projectDescription", "Myapp for android"
property 'sonar.sourceEncoding', 'UTF-8'
property 'sonar.language', 'java'
}
toolVersion = '2.4'
}
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/4333e7c9-8449-4a3c-9c87-c3d70b782463%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/1814a367-a840-4954-8105-1f1ed9aff7b5%40googlegroups.com.
When i execute $gradle sonarRunner, i got below warning message in my console
08:32:30.446 INFO - Sensor org.sonar.plugins.android.lint.AndroidLintSensor@64589c34
08:32:30.493 INFO - Processing android lint report: <path>/app/build/outputs/lint-results.xml
08:32:30.637 WARN - Unable to find rule for LintError
08:32:30.638 WARN - Unable to find file /<path>/AndroidManifest.xml to report issue
08:32:30.639 WARN - Unable to find rule for UnusedAttribute
08:32:30.645 WARN - Unable to find file <path>/AndroidManifest.xml to report issue
08:32:30.645 WARN - Unable to find file <path>/AndroidManifest.xml to report issue
08:32:30.645 WARN - Unable to find file <path>/layout_drawer.xml to report issue
08:32:30.645 WARN - Unable to find file <path>/layout_drawer_customheader.xml to report issue
.
.
.
But this files are existing in respective path.