Currently we are having problems running sonarqube for just a specific build variant. for example clienttestDebug
Our structure is like this. We have 3 different build types
- Release
- Debug
- Profile
And has many (over 30) product flavors. For instance
productFlavors {
dev {
}
demo {
}
clienttest {
}
...
}
So we don't want to run the sonar to run for all variants. Normally there is a way documented as below
sonarqube {
androidVariant 'clienttestDebug'
}
However the piece above doesn't work as expected and tries to run for all the variants. Is there something thats missing. We're using sonarqube plugin version 2.7
sonar { androidVariant "clienttestDebug" }
– Delimitate