Move cb version definition to gradle patch

This commit is contained in:
Jason Penilla 2024-04-27 14:02:33 -07:00
parent b7e148a107
commit a390119b04
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8
9 changed files with 26 additions and 39 deletions

View file

@ -28,10 +28,10 @@ index 37dab9e868dbfb019c271a547d975a48ad1cb571..3811c0d849a3eb028ed1a6b7a2d4747f
+/.factorypath
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
index 0000000000000000000000000000000000000000..a41b15de7eba00d62822f582015d324ccde7dfe7
index 0000000000000000000000000000000000000000..0aa34e8bb81700a3660ba89b3e2a8f53f10ca34c
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +1,119 @@
@@ -0,0 +1,122 @@
+import io.papermc.paperweight.util.*
+
+plugins {
@ -60,7 +60,10 @@ index 0000000000000000000000000000000000000000..a41b15de7eba00d62822f582015d324c
+ testImplementation("org.ow2.asm:asm-tree:9.7")
+}
+
+val craftbukkitPackageVersion = "1_20_R4" // Paper
+paperweight {
+ craftBukkitPackageVersion.set("v1_20_R4") // also needs to be updated in MappingEnvironment
+}
+
+tasks.jar {
+ archiveClassifier.set("dev")
+