File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ tasks.named("shadowJar", ShadowJar) {
118118 mergeServiceFiles()
119119
120120 destinationDirectory. set(file(" $rootDir /builds/" ))
121- archiveBaseName . set(" PlanFabric" )
121+ archiveFileName . set(" PlanFabric- ${ project.version } .jar " )
122122}
123123
124124tasks. assemble. dependsOn tasks. shadowJar
Original file line number Diff line number Diff line change 1- import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2-
31plugins {
42 id " io.papermc.hangar-publish-plugin" version " 0.1.4"
53 id " org.spongepowered.gradle.ore" version " 2.3.0"
@@ -15,7 +13,7 @@ dependencies {
1513 implementation project(" :common" )
1614 implementation project(" :bukkit" )
1715 implementation project(" :nukkit" )
18- implementation project(" :sponge" )
16+ implementation project(path : " :sponge" , configuration : " shadow " )
1917 implementation project(" :bungeecord" )
2018 // Shadow configuration required to depend on Velocity due to newer Java version
2119 implementation project(path : " :velocity" , configuration : " shadow" )
3331 ' MixinConfigs' : ' plan-sponge.mixins.json'
3432 ])
3533}
36- tasks . named( " shadowJar" , ShadowJar ) {
34+ shadowJar {
3735 // Exclude these files
3836 exclude " **/*.svg"
3937 exclude " **/*.psd"
You can’t perform that action at this time.
0 commit comments