mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-26 12:58:02 +01:00
Add jacocoRootReport task
This commit is contained in:
parent
5c522ddb29
commit
4dbb4311ad
2 changed files with 7 additions and 4 deletions
|
@ -21,6 +21,5 @@ script: gradle check --stacktrace
|
|||
after_success:
|
||||
- JAVAC_VERSION=$((javac -version) 2>&1)
|
||||
# Only run jacocoRootReport in the Java 8 build
|
||||
# - if [[ "$JAVAC_VERSION" = javac\ 1.8.* ]]; then gradle jacocoRootReport coveralls; fi
|
||||
- if [[ "$JAVAC_VERSION" = javac\ 1.8.* ]]; then gradle jacocoTestReport coveralls; fi
|
||||
- if [[ "$JAVAC_VERSION" = javac\ 1.8.* ]]; then gradle jacocoRootReport coveralls; fi
|
||||
|
||||
|
|
|
@ -221,8 +221,12 @@ coveralls {
|
|||
sourceDirs = files(subprojects.sourceSets.main.allSource.srcDirs).files.absolutePath
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
task jacocoRootReport(type: JacocoReport) {
|
||||
dependsOn = subprojects.jacocoTestReport
|
||||
sourceDirectories = files(subprojects.sourceSets.main.allSource.srcDirs)
|
||||
classDirectories = files(subprojects.sourceSets.main.output)
|
||||
executionData = files(subprojects.jacocoTestReport.executionData)
|
||||
reports {
|
||||
xml.enabled true
|
||||
xml.destination file("${buildDir}/reports/jacoco/test/jacocoTestReport.xml")
|
||||
|
@ -233,7 +237,7 @@ task jacocoRootReport(type: JacocoReport) {
|
|||
// in there).
|
||||
setOnlyIf { true }
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
task javadocAll(type: Javadoc) {
|
||||
source subprojects.collect {project ->
|
||||
|
|
Loading…
Reference in a new issue