Update references to 1.12.1

This commit is contained in:
Len 2024-08-13 21:21:37 +02:00
parent 2df6a71e6a
commit 6a0fdbbc1e
4 changed files with 14 additions and 16 deletions

View File

@ -3,7 +3,7 @@ plugins {
}
dependencies {
compileOnly("com.alttd:Galaxy-API:1.20.4-R0.1-SNAPSHOT")
compileOnly("com.alttd:Galaxy-API:1.21.1-R0.1-SNAPSHOT")
}
tasks {

View File

@ -5,25 +5,27 @@ import java.io.ByteArrayOutputStream
plugins {
id("java")
id("java-library")
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.github.goooler.shadow") version "8.1.8"
id("maven-publish")
}
allprojects {
group = "com.alttd.essentia"
version = "Build-" + (System.getenv("BUILD_NUMBER") ?: gitCommit())
description = "Altitude essentials ;)"
apply<JavaLibraryPlugin>()
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
}
subprojects {
apply<JavaLibraryPlugin>()
apply(plugin = "maven-publish")
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
publishing {
configure<PublishingExtension> {
repositories {
@ -68,10 +70,6 @@ tasks {
}
}
dependencies {
compileOnly("com.alttd:Galaxy-API:1.20.4-R0.1-SNAPSHOT")
}
fun gitCommit(): String {
val os = ByteArrayOutputStream()
project.exec {

View File

@ -5,10 +5,10 @@ plugins {
dependencies {
implementation(project(":api"))
compileOnly("com.alttd:Galaxy-API:1.20.4-R0.1-SNAPSHOT")
compileOnly("com.alttd:Galaxy-API:1.21.1-R0.1-SNAPSHOT")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
compileOnly("org.projectlombok:lombok:1.18.34")
annotationProcessor("org.projectlombok:lombok:1.18.34")
}
tasks {

View File

@ -4,7 +4,7 @@ main: com.alttd.essentia.EssentiaPlugin
description: Altitude essentials ;)
authors:
- destro174
api-version: "1.20"
api-version: "1.21"
commands:
essentia: