Update build.gradle

This commit is contained in:
CloudlyBot 2023-02-27 13:38:28 +01:00 committed by GitHub
parent a7d5573e75
commit 8acc0e8613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
buildscript { buildscript {
repositories { repositories {
mavenCentral() { //mavenCentral() {
allowInsecureProtocol = true // allowInsecureProtocol = true
} }
mavenCentral() mavenCentral()
} }
@ -123,15 +123,15 @@ compileJava {
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
options.compilerArgs += ["-parameters"] options.compilerArgs += ["-parameters"]
options.fork = true options.fork = true
options.forkOptions.executable = 'java' //options.forkOptions.executable = 'javac'
} }
archivesBaseName = project.property("pluginName") archivesBaseName = project.property("pluginName")
repositories { repositories {
mavenCentral() { //mavenCentral() {
allowInsecureProtocol = true //allowInsecureProtocol = true
} }
spigot() spigot()