mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-05-31 09:31:54 +00:00
57109e4c97
* 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
28 lines
631 B
Groovy
28 lines
631 B
Groovy
plugins {
|
|
id 'com.gradleup.shadow'
|
|
}
|
|
|
|
evaluationDependsOn(':Bukkit:Plugin')
|
|
|
|
dependencies {
|
|
compileOnly 'org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT'
|
|
compileOnly project(':Bukkit:Plugin')
|
|
implementation project(':Common:loader-utils')
|
|
}
|
|
|
|
shadowJar {
|
|
archiveClassifier.set('')
|
|
|
|
// Include the shaded plugin jar as a single resource file
|
|
from(project(':Bukkit:Plugin').tasks.shadowJar) {
|
|
rename { 'antivpn-bukkit.jarinjar' }
|
|
}
|
|
}
|
|
|
|
// Ensure the plugin is built before packaging the loader
|
|
tasks.named('shadowJar') {
|
|
dependsOn(':Bukkit:Plugin:shadowJar')
|
|
}
|
|
|
|
tasks.build.dependsOn shadowJar
|