mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 06:50:12 +01:00
Move package version to server project
This commit is contained in:
parent
c867b69e41
commit
c34b6734a2
3 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@ group = io.papermc.paper
|
|||
version = 1.17-R0.1-SNAPSHOT
|
||||
|
||||
mcVersion = 1.17
|
||||
packageVersion = 1_17_R1
|
||||
|
||||
org.gradle.parallel=true
|
||||
org.gradle.vfs.watch=false
|
||||
|
|
|
@ -59,6 +59,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ rename { "pom.xml" }
|
||||
+ }
|
||||
+
|
||||
val packageVersion = "1_17_R1"
|
||||
relocate("org.bukkit.craftbukkit", "org.bukkit.craftbukkit.v$packageVersion") {
|
||||
exclude("org.bukkit.craftbukkit.Main*")
|
||||
}
|
||||
|
|
|
@ -39,8 +39,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ id("com.github.johnrengelman.shadow")
|
||||
+}
|
||||
+
|
||||
+val packageVersion = providers.gradleProperty("packageVersion").forUseAtConfigurationTime().get()
|
||||
+
|
||||
+repositories {
|
||||
+ maven("https://libraries.minecraft.net/")
|
||||
+}
|
||||
|
@ -101,6 +99,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+tasks.shadowJar {
|
||||
+ archiveClassifier.set("mojang-mapped")
|
||||
+
|
||||
+ val packageVersion = "1_17_R1"
|
||||
+ relocate("org.bukkit.craftbukkit", "org.bukkit.craftbukkit.v$packageVersion") {
|
||||
+ exclude("org.bukkit.craftbukkit.Main*")
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue