mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-02 18:26:43 +00:00
Enable JaCoCo code coverage reports
This commit is contained in:
parent
4341973acd
commit
dd245eb182
1 changed files with 13 additions and 0 deletions
13
build.gradle
13
build.gradle
|
@ -10,6 +10,7 @@ plugins {
|
|||
id 'java-library'
|
||||
id 'extra-java-module-info'
|
||||
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
||||
id 'jacoco'
|
||||
}
|
||||
|
||||
tasks.withType(AbstractArchiveTask) {
|
||||
|
@ -92,6 +93,18 @@ shadowJar {
|
|||
classifier = 'all'
|
||||
}
|
||||
|
||||
test {
|
||||
finalizedBy jacocoTestReport
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
dependsOn test
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = '0.8.10'
|
||||
}
|
||||
|
||||
extraJavaModuleInfo {
|
||||
module('logback-core-1.2.8.jar', 'logback.core', '1.2.8') {
|
||||
exports('ch.qos.logback.core')
|
||||
|
|
Loading…
Reference in a new issue