Skip to content

Commit 2742079

Browse files
authored
update depricated gradle features (#2721)
1 parent f41a6fa commit 2742079

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ task generateSources() {
8585
ant.get(src: ammoniteReleaseUrl, dest: ammoniteJar)
8686
}
8787
javaexec {
88-
main = "-jar"
89-
args = [ammoniteJar, "generator/Generator.sc"]
88+
classpath = project.files(ammoniteJar)
89+
args = ["generator/Generator.sc"]
9090
}
9191
}
9292
}
@@ -100,7 +100,7 @@ tasks.withType(JavaCompile).configureEach {
100100

101101
tasks.named('jacocoTestReport') {
102102
reports {
103-
xml.enabled = true
103+
xml.required = true
104104
}
105105
}
106106

0 commit comments

Comments
 (0)