From b252fc808a65abfd595c48523eb6ad1e040b0b63 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 27 Mar 2018 22:08:16 +0200 Subject: [PATCH] build.gradle: Use not-deprecated methods --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 01254f1aa..389791fe5 100644 --- a/build.gradle +++ b/build.gradle @@ -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