1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 10:59:01 +00:00

gradle, avoid configuring tasks not run

This commit is contained in:
soloturn 2022-02-13 07:08:34 +01:00
parent 255b5180fe
commit b18175b25c

View File

@ -65,7 +65,7 @@ tasks.compileJava {
}
}
tasks.withType<Jar> {
tasks.withType<Jar>().configureEach {
manifest {
attributes["Main-Class"] = "net.sourceforge.plantuml.Run"
attributes["Implementation-Version"] = archiveVersion
@ -92,11 +92,11 @@ publishing {
}
}
tasks.withType<JavaCompile> {
tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
}
tasks.withType<Javadoc> {
tasks.withType<Javadoc>().configureEach {
options {
this as StandardJavadocDocletOptions
addBooleanOption("Xdoclint:none", true)