mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-05-31 01:21:55 +00:00
Fixing build issues causing startup problems on velocity
This commit is contained in:
@@ -28,11 +28,6 @@ dependencies {
|
||||
|
||||
shadowJar {
|
||||
archiveClassifier.set('')
|
||||
|
||||
dependencies {
|
||||
exclude 'dev/brighten/antivpn/depends/Relocate*'
|
||||
exclude 'dev/brighten/antivpn/depends/MavenLibraries*'
|
||||
}
|
||||
}
|
||||
|
||||
tasks.build.dependsOn shadowJar
|
||||
|
||||
@@ -11,6 +11,12 @@ dependencies {
|
||||
implementation 'org.bstats:bstats-velocity:2.2.1'
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
filesMatching('velocity-plugin.json') {
|
||||
expand(projectVersion: project.version)
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
archiveClassifier.set('')
|
||||
|
||||
@@ -28,3 +34,7 @@ tasks.named('shadowJar') {
|
||||
}
|
||||
|
||||
tasks.build.dependsOn shadowJar
|
||||
|
||||
jar {
|
||||
archiveClassifier.set('raw')
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"id":"kaurivpn","name":"KauriVPN","version":"${project.version}","authors":["funkemunky"],"dependencies":[],"main":"dev.brighten.antivpn.velocity.VelocityPluginLoader"}
|
||||
{"id":"kaurivpn","name":"KauriVPN","version":"${projectVersion}","authors":["funkemunky"],"dependencies":[],"main":"dev.brighten.antivpn.velocity.VelocityPluginLoader"}
|
||||
|
||||
+5
-2
@@ -13,7 +13,7 @@ def aggregateTestProjects = [
|
||||
|
||||
allprojects {
|
||||
group = 'dev.brighten.antivpn'
|
||||
version = '1.10.1'
|
||||
version = '1.10.1.1'
|
||||
|
||||
repositories {
|
||||
maven { url 'https://repo.papermc.io/repository/maven-public/' }
|
||||
@@ -76,7 +76,6 @@ evaluationDependsOn(':Bungee:BungeeLoader')
|
||||
|
||||
dependencies {
|
||||
implementation project(':Bukkit:Loader')
|
||||
implementation project(':Velocity:VelocityLoader')
|
||||
implementation project(':Bungee:BungeeLoader')
|
||||
}
|
||||
|
||||
@@ -87,6 +86,10 @@ shadowJar {
|
||||
from(project(':Common:Source').tasks.shadowJar) {
|
||||
rename { 'antivpn-source.jarinjar' }
|
||||
}
|
||||
|
||||
from({
|
||||
zipTree(project(':Velocity:VelocityLoader').tasks.shadowJar.archiveFile.get().asFile)
|
||||
})
|
||||
}
|
||||
|
||||
tasks.named('shadowJar') {
|
||||
|
||||
Reference in New Issue
Block a user