Update references to 1.12.1
This commit is contained in:
1 parent
2df6a71e6a
commit
6a0fdbbc1e
4 files changed
+14
-16
No files matched your search
@@ -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 {
|
||||
|
||||
+9
-11
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -4,7 +4,7 @@ main: com.alttd.essentia.EssentiaPlugin
|
||||
description: Altitude essentials ;)
|
||||
authors:
|
||||
- destro174
|
||||
api-version: "1.20"
|
||||
api-version: "1.21"
|
||||
|
||||
commands:
|
||||
essentia:
|
||||
|
||||
Reference in new issue
Block a user