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