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