ebrowne72
ebrowne72
I tried adding the following configuration to my build file but it didn't help. junitPlatform { jacoco { onlyGenerateTasksForVariants("internalDebug") } }
Neither worked. `jacocoTestReport` is still depending on all the flavors.
OP here. I tried defining the task lazily, but that didn't work. I tried @nuhkoca 's suggestion: > Ohh damn, I have been just struggling with the same problem for...
Still not working for me.
[JaCoCoJUnitTest.zip](https://github.com/mannodermaus/android-junit5/files/9074533/JaCoCoJUnitTest.zip) Command to show task tree: `./gradlew jacocoTestReport taskTree --depth 2` Command output: ``` :app:jacocoTestReport +--- :app:jacocoTestReportInternalDebug | \--- :app:testInternalDebugUnitTest ... +--- :app:jacocoTestReportInternalRelease | \--- :app:testInternalReleaseUnitTest ... +--- :app:jacocoTestReportProductionDebug |...
I swear I tried that before and it didn't work, but now it does. Turning off task generation works for my case.
Cool, that worked. But why did it create an empty baseline file in config/ktlint?
But why does it create the config/ktlint folder just to put an empty baseline file in it?
AS 3.3 is out and Spek 2.x isn't. Can we get a version of the plug-in for AS 3.3?
Still have this issue with Android Studio 3.5.