Closed priyamadan closed 4 years ago
Thanks for submitting the issue. Could you please share your module-level build.gradle
file? I am particularly interested in the androidAnalyzer
, productFlavors
and buildTypes
. Thank you.
Closing due to inactivity
I'm having the same problem, I can see the junit coverage on my local, but not on my sonarqube.
androidAnalyzer { applicationId = 'android-carsharing' projectName = 'android-carsharing' projectVersion = '1.0.0' detekt = true unitTestCoverage = true packageName = 'android-carsharing' buildVariant = 'flavorXBitrise' serverUrl = 'http://localhost:9000' }
buildTypes {
debug {
minifyEnabled false
multiDexEnabled true
testCoverageEnabled = true
applicationIdSuffix ".debug"
}
bitrise {
minifyEnabled false
multiDexEnabled true
debuggable true
testCoverageEnabled = true
applicationIdSuffix ".bitrise"
}
dynamic {
minifyEnabled false
multiDexEnabled true
debuggable true
testCoverageEnabled = true
applicationIdSuffix ".staging"
}
customer_support {
minifyEnabled false
multiDexEnabled true
debuggable true
testCoverageEnabled = true
}
release {
minifyEnabled false
multiDexEnabled true
}
}
productFlavors {
flavorA {
applicationId "---"
dimension "default"
}
flavorB {
applicationId "---"
dimension "default"
}
flavorC {
applicationId "---"
dimension "default"
}
}
for security reasons I can't share the internal names of the productFlavors.
Following the instructions in the readme and for some reason the junit coverage report is not getting uploaded to sonarqube