mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-18 04:30:48 +01:00
Trying to fix CI error
This commit is contained in:
parent
1c83f5c67d
commit
a22984566a
@ -52,6 +52,7 @@ targetCompatibility = JavaVersion.VERSION_1_8
|
|||||||
tasks.withType(Test) {
|
tasks.withType(Test) {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
jacoco {
|
jacoco {
|
||||||
|
includeNoLocationClasses = true
|
||||||
excludes += jacocoExclude
|
excludes += jacocoExclude
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -68,6 +69,6 @@ jacoco {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
jacocoExclude = []
|
jacocoExclude = ['jdk.internal.*']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ jacoco {
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
// override it in the module
|
// override it in the module
|
||||||
jacocoExclude = []
|
jacocoExclude = ['jdk.internal.*']
|
||||||
}
|
}
|
||||||
|
|
||||||
jacocoTestReport {
|
jacocoTestReport {
|
||||||
@ -51,6 +51,7 @@ test.finalizedBy jacocoTestReport
|
|||||||
test {
|
test {
|
||||||
jacoco {
|
jacoco {
|
||||||
excludes += jacocoExclude
|
excludes += jacocoExclude
|
||||||
|
includeNoLocationClasses = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,6 +99,16 @@ ext {
|
|||||||
'**/R$*.class',
|
'**/R$*.class',
|
||||||
'**/R.class',
|
'**/R.class',
|
||||||
'**/BuildConfig.class',
|
'**/BuildConfig.class',
|
||||||
'**/di/**'
|
'**/di/**',
|
||||||
|
'jdk.internal.*'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jacoco {
|
||||||
|
toolVersion(versions.jacoco)
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.withType(Test) {
|
||||||
|
jacoco.includeNoLocationClasses = true
|
||||||
|
jacoco.excludes += jacocoExclude
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user