1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 21:42:07 +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) { configure(androidBootClasspathProjects) {
compileJava { compileJava {
options.bootClasspath = androidBootClasspath options.bootstrapClasspath = files(androidBootClasspath)
} }
javadoc { javadoc {
classpath += files(androidBootClasspath) classpath += files(androidBootClasspath)
@ -526,7 +526,7 @@ task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
executionData = files(projectsWithUnitTests.jacocoTestReport.executionData) executionData = files(projectsWithUnitTests.jacocoTestReport.executionData)
reports { reports {
xml.enabled true 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 // We could remove the following setOnlyIf line, but then
// jacocoRootReport would silently be SKIPPED if something with // jacocoRootReport would silently be SKIPPED if something with