1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-26 06:46:45 +00:00

Merge pull request #903 from soloturn/gradle

gradle, allow java17 binary
This commit is contained in:
PlantUML 2022-02-08 12:39:42 +01:00 committed by GitHub
commit f67ebad086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,5 @@
val javacRelease: String by project
plugins {
java
`maven-publish`
@ -50,7 +52,7 @@ sourceSets {
}
tasks.compileJava {
options.release.set(8)
options.release.set(Integer.parseInt(javacRelease))
}
tasks.withType<Jar> {
@ -87,7 +89,7 @@ tasks.withType<JavaCompile> {
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("Xdoclint:none", "-quiet")
addBooleanOption("Xdoclint:none", true)
addStringOption("Xmaxwarns", "1")
}
}

View File

@ -1 +1,2 @@
javacRelease = 8
version = 1.2022.1-SNAPSHOT