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
1 changed files with 2 additions and 2 deletions

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