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 { dependencies {
compileOnly("com.alttd:Galaxy-API:1.20.4-R0.1-SNAPSHOT") compileOnly("com.alttd:Galaxy-API:1.21.1-R0.1-SNAPSHOT")
} }
tasks { tasks {

View File

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

View File

@ -5,10 +5,10 @@ plugins {
dependencies { dependencies {
implementation(project(":api")) 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") compileOnly("org.projectlombok:lombok:1.18.34")
annotationProcessor("org.projectlombok:lombok:1.18.24") annotationProcessor("org.projectlombok:lombok:1.18.34")
} }
tasks { tasks {

View File

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