Please provide compiled classes of your project with sonar.java.binaries property
转自:http://blog.csdn.net/u010479969/article/details/52981134
之后又在配置文件中增加了一下路径:sonar.java.binaries
- sonar.projectKey=PowerPlus
- sonar.projectName=PowerPlus
- sonar.projectVersion=1.0
- # Path to the parent source code directory.
- # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
- # Since SonarQube 4.2, this property is optional if sonar.modules is set.
- # If not set, SonarQube starts looking for source code from the directory containing
- # the sonar-project.properties file.
- sonar.sources=./
-
- # Encoding of the source code
- sonar.sourceEncoding=UTF-8
-
- # Additional parameters
- sonar.my.property=value
- sonar.java.binaries=app/build/intermediates/classes