Skip to content

Commit

Permalink
Remove Jacooco test coverage from testharness module
Browse files Browse the repository at this point in the history
This was not currently working and monitored, so we decided to remove it
  • Loading branch information
oas004 committed Jun 4, 2023
1 parent 5209295 commit b776a64
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions testharness/build.gradle.kts
Expand Up @@ -21,25 +21,12 @@ plugins {
id(libs.plugins.jetbrains.dokka.get().pluginId)
id(libs.plugins.gradle.metalava.get().pluginId)
id(libs.plugins.vanniktech.maven.publish.get().pluginId)
jacoco
}

kotlin {
explicitApi()
}

tasks.withType<Test> {
configure<JacocoTaskExtension> {
// Required for JaCoCo + Robolectric
// https://github.com/robolectric/robolectric/issues/2230
isIncludeNoLocationClasses = true

// Required for JDK 11 with the above
// https://github.com/gradle/gradle/issues/5184#issuecomment-391982009
excludes?.add("jdk.internal.*")
}
}

android {
namespace = "com.google.accompanist.testharness"

Expand Down Expand Up @@ -87,10 +74,6 @@ android {
}
}

testCoverage {
jacocoVersion = "0.8.8"
}

testOptions {
unitTests {
isIncludeAndroidResources = true
Expand Down

0 comments on commit b776a64

Please sign in to comment.