mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 13:16:44 +00:00
Enable JaCoCo code coverage reports
This commit is contained in:
parent
87e2da0e01
commit
d723641c7a
1 changed files with 11 additions and 1 deletions
12
build.gradle
12
build.gradle
|
@ -5,6 +5,7 @@ plugins {
|
||||||
id 'org-openjfx-javafxplugin'
|
id 'org-openjfx-javafxplugin'
|
||||||
id 'extra-java-module-info'
|
id 'extra-java-module-info'
|
||||||
id 'org.beryx.jlink' version '2.26.0'
|
id 'org.beryx.jlink' version '2.26.0'
|
||||||
|
id 'jacoco'
|
||||||
}
|
}
|
||||||
|
|
||||||
def sparrowVersion = '1.7.8'
|
def sparrowVersion = '1.7.8'
|
||||||
|
@ -158,6 +159,15 @@ processResources {
|
||||||
|
|
||||||
test {
|
test {
|
||||||
jvmArgs '--add-opens=java.base/java.io=com.google.gson'
|
jvmArgs '--add-opens=java.base/java.io=com.google.gson'
|
||||||
|
finalizedBy jacocoTestReport
|
||||||
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
dependsOn test
|
||||||
|
}
|
||||||
|
|
||||||
|
jacoco {
|
||||||
|
toolVersion = '0.8.10'
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
run {
|
||||||
|
@ -730,4 +740,4 @@ extraJavaModuleInfo {
|
||||||
requires('org.hamcrest.core')
|
requires('org.hamcrest.core')
|
||||||
}
|
}
|
||||||
module('hamcrest-core-1.3.jar', 'org.hamcrest.core', '1.3')
|
module('hamcrest-core-1.3.jar', 'org.hamcrest.core', '1.3')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue