fix: Java compile level problem (#2)

dependabot/gradle/org.projectlombok-lombok-1.18.34
AlexDev_ 5 months ago committed by GitHub
parent 79c7d4d304
commit 37b65f3b5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -54,6 +54,10 @@ allprojects {
javadoc.options.encoding = 'UTF-8'
javadoc.options.addStringOption('Xdoclint:none', '-quiet')
java {
disableAutoTargetJvm()
}
repositories {
mavenLocal()
mavenCentral()
@ -100,9 +104,9 @@ subprojects {
archiveClassifier.set('')
}
if (['example-plugin', 'fabric-1.20.6', 'paper'].contains(project.name)) {
compileJava.options.release.set 21
}
//if (['example-plugin', 'fabric-1.20.6', 'paper'].contains(project.name)) {
// compileJava.options.release.set 21
//}
// Don't include example plugin in publishing
if (['example-plugin'].contains(project.name)) return;

Loading…
Cancel
Save