@@ -5,7 +5,7 @@ Subject: [PATCH] Build system changes
5
5
6
6
7
7
diff --git a/build.gradle.kts b/build.gradle.kts
8
- index 3451ca066dc093879d540b6c297f8814f40c15f2..3f43a130ee7e7bd5c5178a108f3e7f23337cc83f 100644
8
+ index d10ff4a52c22033e2adb2a4e7f2cee98a13ea6c5..e4e9df9283c1a0fd7fff38a5d9b6a51f15e06b7a 100644
9
9
--- a/build.gradle.kts
10
10
+++ b/build.gradle.kts
11
11
@@ -9,10 +9,9 @@ plugins {
@@ -21,15 +21,24 @@ index 3451ca066dc093879d540b6c297f8814f40c15f2..3f43a130ee7e7bd5c5178a108f3e7f23
21
21
implementation("commons-lang:commons-lang:2.6")
22
22
runtimeOnly("org.xerial:sqlite-jdbc:3.36.0.3")
23
23
runtimeOnly("mysql:mysql-connector-java:8.0.29")
24
- @@ -34,6 +33,7 @@ tasks.jar {
24
+ @@ -23,6 +22,8 @@ dependencies {
25
+
26
+ testImplementation("junit:junit:4.13.2")
27
+ testImplementation("org.hamcrest:hamcrest-library:1.3")
28
+ +
29
+ + implementation("io.netty:netty-all:4.1.77.Final"); // Paper - Bump netty
30
+ }
31
+
32
+ val craftbukkitPackageVersion = "1_19_R1" // Paper
33
+ @@ -34,6 +35,7 @@ tasks.jar {
25
34
val gitHash = git("rev-parse", "--short=7", "HEAD").getText().trim()
26
35
val implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\""
27
36
val date = git("show", "-s", "--format=%ci", gitHash).getText().trim() // Paper
28
37
+ val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD").getText().trim() // Paper
29
38
attributes(
30
39
"Main-Class" to "org.bukkit.craftbukkit.Main",
31
40
"Implementation-Title" to "CraftBukkit",
32
- @@ -42,6 +42 ,9 @@ tasks.jar {
41
+ @@ -42,6 +44 ,9 @@ tasks.jar {
33
42
"Specification-Title" to "Bukkit",
34
43
"Specification-Version" to project.version,
35
44
"Specification-Vendor" to "Bukkit Team",
0 commit comments