File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919 targetCompatibility = JavaVersion .VERSION_1_7
2020}
2121
22- tasks.withType<JavaCompile >().all { // Java compile-time options:
22+ tasks.withType<JavaCompile >().configureEach { // Java compile-time options:
2323 options.compilerArgs.add(" -Xdiags:verbose" )
2424
2525 // Suppress warnings that source value 7 is obsolete.
@@ -32,7 +32,7 @@ tasks.withType<JavaCompile>().all { // Java compile-time options:
3232 options.release = 7
3333}
3434
35- tasks.withType<Javadoc >().all {
35+ tasks.withType<Javadoc >().configureEach {
3636 (options as CoreJavadocOptions ).apply {
3737 addStringOption(" Xdoclint:none" , " -quiet" )
3838 }
@@ -180,7 +180,7 @@ tasks.named("publishMavenPublicationToCentralRepository") { dependsOn("assemble"
180180signing {
181181 sign(publishing.publications[" maven" ])
182182}
183- tasks.withType<Sign >().all {
183+ tasks.withType<Sign >().configureEach {
184184 onlyIf { project.hasProperty(" signing.keyId" ) }
185185}
186186tasks.named(" signMavenPublication" ) { dependsOn(" module" ) }
You can’t perform that action at this time.
0 commit comments