Fixing build

This commit is contained in:
2026-04-08 13:13:05 -04:00
parent db3e137522
commit 4c2ad35c96
11 changed files with 23 additions and 16 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
evaluationDependsOn(':Bukkit:Plugin')
+2 -2
View File
@@ -1,10 +1,10 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT'
compileOnly project(':Common:Source')
compileOnly project(path: ':Common:Source', configuration: 'shadow')
compileOnly project(':Common:loader-utils')
implementation 'org.bstats:bstats-bukkit:2.2.1'
}
+1 -1
View File
@@ -1,5 +1,5 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
evaluationDependsOn(':Bungee:BungeePlugin')
+2 -2
View File
@@ -1,10 +1,10 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
dependencies {
compileOnly 'net.md-5:bungeecord-api:1.21-R0.2'
compileOnly project(':Common:Source')
compileOnly project(path: ':Common:Source', configuration: 'shadow')
compileOnly project(':Common:loader-utils')
implementation 'org.bstats:bstats-bungeecord:2.2.1'
}
+8 -1
View File
@@ -1,5 +1,5 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
dependencies {
@@ -14,6 +14,10 @@ dependencies {
compileOnly 'org.mongodb:mongo-java-driver:3.12.14'
}
jar {
enabled = false
}
shadowJar {
archiveClassifier.set('')
relocate 'org.yaml.snakeyaml', 'dev.brighten.antivpn.shaded.org.yaml.snakeyaml'
@@ -31,3 +35,6 @@ shadowJar {
}
tasks.build.dependsOn shadowJar
components.java.withVariantsFromConfiguration(configurations.shadowRuntimeElements) {
skip()
}
+1 -1
View File
@@ -1,5 +1,5 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
evaluationDependsOn(':Sponge:SpongePlugin')
+2 -2
View File
@@ -1,10 +1,10 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
dependencies {
compileOnly 'org.spongepowered:spongeapi:11.0.0'
compileOnly project(':Common:Source')
compileOnly project(path: ':Common:Source', configuration: 'shadow')
compileOnly project(':Common:loader-utils')
}
+1 -1
View File
@@ -1,5 +1,5 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
// Aggregate universal jar that embeds platform loaders and the common source jar
+1 -1
View File
@@ -1,5 +1,5 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
evaluationDependsOn(':Velocity:VelocityPlugin')
+2 -2
View File
@@ -1,10 +1,10 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'com.gradleup.shadow'
}
dependencies {
compileOnly 'com.velocitypowered:velocity-api:3.4.0-SNAPSHOT'
compileOnly project(':Common:Source')
compileOnly project(path: ':Common:Source', configuration: 'shadow')
compileOnly project(':Common:loader-utils')
implementation 'org.bstats:bstats-velocity:2.2.1'
}
+2 -2
View File
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id 'com.gradleup.shadow' version '9.4.1' apply false
}
allprojects {
@@ -21,7 +21,7 @@ allprojects {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
languageVersion = JavaLanguageVersion.of(21)
}
}