mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-07-02 08:18:28 +00:00
27 lines
599 B
Groovy
27 lines
599 B
Groovy
plugins {
|
|
id 'com.github.johnrengelman.shadow'
|
|
}
|
|
|
|
evaluationDependsOn(':Sponge:SpongePlugin')
|
|
|
|
dependencies {
|
|
compileOnly 'org.spongepowered:spongeapi:11.0.0'
|
|
compileOnly project(':Sponge:SpongePlugin')
|
|
implementation project(':Common:loader-utils')
|
|
}
|
|
|
|
shadowJar {
|
|
archiveClassifier.set('')
|
|
|
|
// Include the shaded plugin jar as a single resource file
|
|
from(project(':Sponge:SpongePlugin').tasks.shadowJar) {
|
|
rename { 'antivpn-sponge.jarinjar' }
|
|
}
|
|
}
|
|
|
|
tasks.named('shadowJar') {
|
|
dependsOn(':Sponge:SpongePlugin:shadowJar')
|
|
}
|
|
|
|
tasks.build.dependsOn shadowJar
|