Slackbot
05/11/2022, 2:21 PMDaniel B Duval
05/11/2022, 6:20 PMTrevJonez
05/11/2022, 6:26 PMbuildTypes {
    named("debug") {
        isTestCoverageEnabled =
            // Don't run build time coverage instrumentation locally to avoid transform time
            !engBuild
                // Don't run build time coverage instrumentation when we know we are going to run JVM tests
                // Mocking of types mixed with build instrumented coverage and jvm agent coverage blows up
                && !gradle.startParameter.taskNames.contains("unitTestSuite")
                // Don't run build time coverage instrumentation when we know we are publishing.
                // Downstream consumers will break if trying to do their own build time coverage instrumentation.
                && !gradle.startParameter.taskNames.contains("publishAllPublicationsToNexusReleaseRepository")
                // Only run in CI when we are prepping test APKs
                && gradle.startParameter.taskNames.any { it.contains("androidTest", ignoreCase = true) }
    }
}TrevJonez
05/11/2022, 6:26 PMTrevJonez
05/11/2022, 6:27 PMTrevJonez
05/11/2022, 6:32 PMDaniel B Duval
05/11/2022, 7:07 PMconnectedAndroidTest? At least that’s how I’m reading the above block.
If that’s the case, I’m afraid I won’t be of a whole lot of help on this one as we’re just doing it on test at this point :/TrevJonez
05/11/2022, 7:08 PMTrevJonez
05/11/2022, 7:09 PMDaniel B Duval
05/11/2022, 7:26 PMTrevJonez
05/11/2022, 7:27 PM:app:packageQaDebugBundle
only guess I have right now is that newrelic is skipping something it should be copying or is using transform api's wrong or something along those lines.TrevJonez
05/11/2022, 7:28 PMTrevJonez
05/11/2022, 7:29 PMTrevJonez
05/11/2022, 7:29 PM