Closed Shusek closed 3 years ago
A quick test using the provided sample confirms this issue happens when having 2 flavors, after removing one it worked.
Hi @Shusek
Version 2.0.1 has been published fixing the error you reported. Thank you for submitting it and for providing a sample project we could use to test it :)
Describe the bug On android we can declare additional "buildTypes" and "productFlavors". Unfortunately scanning does not work when project contain more than one flavor. Gradle raise exception:
To Reproduce Steps to reproduce the behavior:
gradle --stacktrace nexusIQScan
Sample project containing this error: https://github.com/Shusek/SonarGradlePluginFlavorBug Expected behavior Plugin should support more than one flavor
Desktop (please complete the following information):
Additional context Full stacktrace error: