Files
AntiVPN/Sponge/SpongeLoader/build.gradle
T
Dawson 57109e4c97 Feature/gradle refactor (#80)
* Gradle project refactor

* Updating workflows for github

* Attempting to fix workflows

* Fixing maven central proxy

* Fixing missing dependency in velocity

* Fixing build

* Getting rid of universal submodule

* Updating workflows to handle new build structure, removing maven workflows

* Fixing permissions issues caused by gradle files being handled on Windows

* Revert "Fixing permissions issues caused by gradle files being handled on Windows"

This reverts commit 3e4d8be955.

* replacing instances of gradlew

* Adding gradlew wrapper

* Attempting to fix gradle issues

* Attempting to fix gradle issues

* Adding back ssl args

* Using built in pipeline
2026-04-08 15:27:06 -04:00

27 lines
587 B
Groovy

plugins {
id 'com.gradleup.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