fix(ci): Fixed compilation
This commit is contained in:
parent
e551037fb5
commit
0b1ec8a591
@ -12,8 +12,8 @@ tasks {
|
||||
(options as StandardJavadocDocletOptions).run{
|
||||
encoding = Charsets.UTF_8.name()
|
||||
links(
|
||||
"https://jd.advntr.dev/api/4.12.0/",
|
||||
"https://jd.advntr.dev/text-minimessage/4.12.0/",
|
||||
"https://jd.advntr.dev/api/4.14.0/",
|
||||
"https://jd.advntr.dev/text-minimessage/4.14.0/",
|
||||
"https://jd.papermc.io/velocity/3.0.0/"
|
||||
)
|
||||
}
|
||||
|
@ -4,4 +4,13 @@ allprojects {
|
||||
repositories {
|
||||
maven("https://repo.papermc.io/repository/maven-public/")
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.encoding = Charsets.UTF_8.name()
|
||||
options.release.set(17)
|
||||
}
|
||||
|
||||
configure<JavaPluginExtension> {
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,6 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://repo.alessiodp.com/releases/")
|
||||
}
|
||||
|
||||
|
@ -42,10 +42,6 @@ tasks {
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
}
|
||||
compileJava {
|
||||
options.encoding = Charsets.UTF_8.name()
|
||||
options.release.set(17)
|
||||
}
|
||||
runServer {
|
||||
minecraftVersion("1.19.4")
|
||||
}
|
||||
@ -55,5 +51,3 @@ tasks {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
||||
|
@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2023 AuthMeVelocity Contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package io.github._4drian3d.authmevelocity.velocity.hooks;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
|
Loading…
x
Reference in New Issue
Block a user