|
|
|
@ -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;
|
|
|
|
|