Skip to content

Commit

Permalink
edit jacoco
Browse files Browse the repository at this point in the history
  • Loading branch information
meiron03 committed Nov 5, 2023
1 parent a4bf041 commit d5a6853
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions PennMobile/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ android {
viewBinding true
}
compileSdkVersion 33
buildToolsVersion '29.0.3'
defaultConfig {
minSdkVersion 26
targetSdkVersion 33
Expand All @@ -36,13 +35,6 @@ android {
pickFirst 'META-INF/LICENSE.txt'
pickFirst 'META-INF/NOTICE.txt'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}
}

dependencies {
Expand Down Expand Up @@ -121,8 +113,10 @@ jacoco {
toolVersion = "0.8.5"
}

// https://stackoverflow.com/questions/68065743/cannot-run-gradle-test-tasks-because-of-java-lang-noclassdeffounderror-jdk-inte
tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
jacoco.includeNoLocationClasses = true
jacoco.excludes = ['jdk.internal.*']
}

// Files with such regex patterns are to be excluded
Expand Down

0 comments on commit d5a6853

Please sign in to comment.