Update 1.21
This commit is contained in:
+7
-9
@@ -20,7 +20,7 @@ apply(plugin = "maven-publish")
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
languageVersion.set(JavaLanguageVersion.of(21))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,15 +36,15 @@ tasks {
|
||||
runServer {
|
||||
// runDirectory.set(File("./run1"))
|
||||
val fileName = "./run/galaxy.jar"
|
||||
var file = File(fileName)
|
||||
val file = File(fileName)
|
||||
if (!file.parentFile.exists()) {
|
||||
file.parentFile.mkdirs()
|
||||
}
|
||||
if (!file.exists()) {
|
||||
download("https://repo.destro.xyz/private/com/alttd/Galaxy-Server/Galaxy-paperclip-1.20.4-R0.1-SNAPSHOT-reobf.jar", fileName)
|
||||
download("https://jenkins.destro.xyz/job/Galaxy/lastSuccessfulBuild/artifact/build/libs/Galaxy-paperclip-1.21-R0.1-SNAPSHOT-reobf.jar", fileName)
|
||||
}
|
||||
serverJar(file)
|
||||
minecraftVersion("1.20.4")
|
||||
minecraftVersion("1.21")
|
||||
}
|
||||
|
||||
jar {
|
||||
@@ -71,16 +71,14 @@ publishing {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("com.alttd:Galaxy-API:1.20.4-R0.1-SNAPSHOT") {
|
||||
isChanging = true
|
||||
}
|
||||
compileOnly("com.alttd:Galaxy-API:1.21-R0.1-SNAPSHOT")
|
||||
compileOnly("com.github.milkbowl:VaultAPI:1.7") {
|
||||
exclude("org.bukkit","bukkit")
|
||||
}
|
||||
compileOnly("com.github.TechFortress:GriefPrevention:16.17.1")
|
||||
|
||||
compileOnly("org.projectlombok:lombok:1.18.24")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
||||
compileOnly("org.projectlombok:lombok:1.18.30")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.30")
|
||||
}
|
||||
|
||||
fun gitCommit(): String {
|
||||
|
||||
Reference in New Issue
Block a user