sonarqube {
androidVariant = "xxxxx"
}
"src/internal/java" in "\:app.sonar.sources", which I would not have expected. Also. "sonar.java.binaries" and "sonar.binaries" still point to "app/build/intermediates/classes/internalBleeding/debug".
(Side note: If I configure "androidVariant = 'bla'" the execution still happily succeeds, I'd have expected some configuration error.)
And this is another weirdness which I already experienced with 2.1 (so this is not specific to this RC, but was apparently a regression coming from 2.0.1 previously), but in my "main" project the sonarqube task fails because a compile dependency that was apparently set on the sonarqube task fails. Of course, the project is regularly buildable, but just fails to compile when the compilation step is executed through the sonarqube dependency. I could not reproduce this in the sonarqube-android-example project, so I'm not sure what's going on there.
The issue seems to be in the step :someLibraryModule:compileDebugJavaWithJavac - this has dependencies to another library module, but this module does not seem to be on the classpath, because it cannot find any class from it.
The issue also pops up if I clean beforehand, i.e. execute `./gradlew clean sonarqube`, but as I said, is not existant when I regularly assemble or even directly call `./gradlew :someLibraryModule:compileDebugJavaWithJavac`. Do you do any classpath mangling there...?
Thomas.
Flavoured sources are now correctly found and added to the specific properties.I'm not sure however howsonarqube { androidVariant = "xxxxx" }
is supposed to work. If I add "prodCompat" there (in my sample project at https://github.com/tommyd3mdi/sonarqube-android-example), I still see"src/internal/java" in "\:app.sonar.sources", which I would not have expected. Also. "sonar.java.binaries" and "sonar.binaries" still point to "app/build/intermediates/classes/internalBleeding/debug".
(Side note: If I configure "androidVariant = 'bla'" the execution still happily succeeds, I'd have expected some configuration error.)
And this is another weirdness which I already experienced with 2.1 (so this is not specific to this RC, but was apparently a regression coming from 2.0.1 previously), but in my "main" project the sonarqube task fails because a compile dependency that was apparently set on the sonarqube task fails. Of course, the project is regularly buildable, but just fails to compile when the compilation step is executed through the sonarqube dependency. I could not reproduce this in the sonarqube-android-example project, so I'm not sure what's going on there.
The issue seems to be in the step :someLibraryModule:compileDebugJavaWithJavac - this has dependencies to another library module, but this module does not seem to be on the classpath, because it cannot find any class from it.
The issue also pops up if I clean beforehand, i.e. execute `./gradlew clean sonarqube`, but as I said, is not existant when I regularly assemble or even directly call `./gradlew :someLibraryModule:compileDebugJavaWithJavac`. Do you do any classpath mangling there...?