mirror of
https://github.com/octoleo/plantuml.git
synced 2025-04-02 00:01:52 +00:00
gradle, avoid configuring tasks not run
This commit is contained in:
parent
255b5180fe
commit
b18175b25c
@ -65,7 +65,7 @@ tasks.compileJava {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<Jar> {
|
tasks.withType<Jar>().configureEach {
|
||||||
manifest {
|
manifest {
|
||||||
attributes["Main-Class"] = "net.sourceforge.plantuml.Run"
|
attributes["Main-Class"] = "net.sourceforge.plantuml.Run"
|
||||||
attributes["Implementation-Version"] = archiveVersion
|
attributes["Implementation-Version"] = archiveVersion
|
||||||
@ -92,11 +92,11 @@ publishing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<JavaCompile> {
|
tasks.withType<JavaCompile>().configureEach {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<Javadoc> {
|
tasks.withType<Javadoc>().configureEach {
|
||||||
options {
|
options {
|
||||||
this as StandardJavadocDocletOptions
|
this as StandardJavadocDocletOptions
|
||||||
addBooleanOption("Xdoclint:none", true)
|
addBooleanOption("Xdoclint:none", true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user