1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

build.gradle: Use not-deprecated methods

This commit is contained in:
Florian Schmaus 2018-03-27 22:08:16 +02:00
parent 7d7b4e6e53
commit b252fc808a

View file

@ -507,7 +507,7 @@ configure(gplLicensedProjects) {
configure(androidBootClasspathProjects) {
compileJava {
options.bootClasspath = androidBootClasspath
options.bootstrapClasspath = files(androidBootClasspath)
}
javadoc {
classpath += files(androidBootClasspath)
@ -526,7 +526,7 @@ task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
executionData = files(projectsWithUnitTests.jacocoTestReport.executionData)
reports {
xml.enabled true
xml.destination ="${buildDir}/reports/jacoco/test/jacocoTestReport.xml"
xml.destination file("${buildDir}/reports/jacoco/test/jacocoTestReport.xml")
}
// We could remove the following setOnlyIf line, but then
// jacocoRootReport would silently be SKIPPED if something with