mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
Do not use deprecated jacoco plugin API
This commit is contained in:
parent
6edc444b6a
commit
91f200dca0
1 changed files with 5 additions and 5 deletions
10
build.gradle
10
build.gradle
|
@ -187,8 +187,8 @@ allprojects {
|
||||||
|
|
||||||
jacocoTestReport {
|
jacocoTestReport {
|
||||||
dependsOn test
|
dependsOn test
|
||||||
sourceDirectories = project.files(sourceSets.main.allSource.srcDirs)
|
getSourceDirectories().setFrom(project.files(sourceSets.main.allSource.srcDirs))
|
||||||
classDirectories = project.files(sourceSets.main.output)
|
getClassDirectories().setFrom(project.files(sourceSets.main.output))
|
||||||
reports {
|
reports {
|
||||||
xml.enabled true
|
xml.enabled true
|
||||||
}
|
}
|
||||||
|
@ -578,9 +578,9 @@ coveralls {
|
||||||
|
|
||||||
task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
|
task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
|
||||||
dependsOn = projectsWithUnitTests.jacocoTestReport
|
dependsOn = projectsWithUnitTests.jacocoTestReport
|
||||||
sourceDirectories = files(projectsWithUnitTests.sourceSets.main.allSource.srcDirs)
|
getSourceDirectories().setFrom(files(projectsWithUnitTests.sourceSets.main.allSource.srcDirs))
|
||||||
classDirectories = files(projectsWithUnitTests.sourceSets.main.output)
|
getClassDirectories().setFrom(files(projectsWithUnitTests.sourceSets.main.output))
|
||||||
executionData = files(projectsWithUnitTests.jacocoTestReport.executionData)
|
getExecutionData().setFrom(files(projectsWithUnitTests.jacocoTestReport.executionData))
|
||||||
reports {
|
reports {
|
||||||
xml.enabled true
|
xml.enabled true
|
||||||
xml.destination file("${buildDir}/reports/jacoco/test/jacocoTestReport.xml")
|
xml.destination file("${buildDir}/reports/jacoco/test/jacocoTestReport.xml")
|
||||||
|
|
Loading…
Reference in a new issue