mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-30 07:18:28 +00:00
Fixing build
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow'
|
||||
id 'com.gradleup.shadow'
|
||||
}
|
||||
|
||||
evaluationDependsOn(':Bukkit:Plugin')
|
||||
|
||||
@@ -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,5 +1,5 @@
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow'
|
||||
id 'com.gradleup.shadow'
|
||||
}
|
||||
|
||||
evaluationDependsOn(':Bungee:BungeePlugin')
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
@@ -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,5 +1,5 @@
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow'
|
||||
id 'com.gradleup.shadow'
|
||||
}
|
||||
|
||||
evaluationDependsOn(':Sponge:SpongePlugin')
|
||||
|
||||
@@ -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,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,5 +1,5 @@
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow'
|
||||
id 'com.gradleup.shadow'
|
||||
}
|
||||
|
||||
evaluationDependsOn(':Velocity:VelocityPlugin')
|
||||
|
||||
@@ -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
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user