Progress but no progress?
This commit is contained in:
+16
-11
@@ -1,13 +1,12 @@
|
||||
plugins {
|
||||
`java-library`
|
||||
`maven-publish`
|
||||
id("com.github.johnrengelman.shadow") version "7.0.0"
|
||||
id("com.github.johnrengelman.shadow") version "7.1.0"
|
||||
}
|
||||
|
||||
allprojects {
|
||||
val build = System.getenv("BUILD_NUMBER") ?: "SNAPSHOT"
|
||||
group = "com.alttd.boosters"
|
||||
version = "1.0.0-BETA-$build"
|
||||
version = "1.0.0-BETA-SNAPSHOT"
|
||||
description = "Easily manage all boosters on the Altitude Minecraft Server Network."
|
||||
}
|
||||
|
||||
@@ -17,7 +16,7 @@ subprojects {
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(16))
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,9 +40,8 @@ subprojects {
|
||||
configure<PublishingExtension> {
|
||||
repositories {
|
||||
maven {
|
||||
name = "nexus"
|
||||
url = uri("http://$name:8081/snapshots")
|
||||
isAllowInsecureProtocol = true
|
||||
name = "maven"
|
||||
url = uri("https://repo.destro.xyz/snapshots/")
|
||||
credentials(PasswordCredentials::class)
|
||||
}
|
||||
}
|
||||
@@ -55,20 +53,27 @@ dependencies {
|
||||
implementation(project(":boosters-api"))
|
||||
implementation(project(":plugin"))
|
||||
implementation(project(":velocity"))
|
||||
implementation("net.kyori", "adventure-text-minimessage", "4.1.0-SNAPSHOT")
|
||||
// implementation("net.kyori", "adventure-text-minimessage", "4.2.0-SNAPSHOT")
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("${project.name}-${project.version}.jar")
|
||||
minimize() {
|
||||
exclude { it.moduleName == "boosters-api" }
|
||||
exclude { it.moduleName == "plugin" }
|
||||
exclude { it.moduleName == "velocity" }
|
||||
}
|
||||
listOf(
|
||||
"net.kyori.adventure.text.minimessage"
|
||||
).forEach { relocate(it, "${rootProject.group}.lib.$it") }
|
||||
"net.kyori.adventure.text.minimessage",
|
||||
"org.spongepowered.configurate"
|
||||
).forEach { relocate(it, "${rootProject.name}.lib.$it") }
|
||||
}
|
||||
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user