|
1 | 1 | --- a/paper-server/build.gradle.kts |
2 | 2 | +++ b/paper-server/build.gradle.kts |
3 | | -@@ -4,6 +_,7 @@ |
| 3 | +@@ -5,6 +_,7 @@ |
4 | 4 | import paper.libs.com.google.gson.annotations.SerializedName |
5 | 5 | import java.time.Instant |
6 | 6 | import kotlin.io.path.readText |
7 | 7 | +import kotlin.io.path.writeText |
8 | 8 |
|
9 | 9 | plugins { |
10 | 10 | `java-library` |
11 | | -@@ -24,6 +_,18 @@ |
| 11 | +@@ -26,6 +_,18 @@ |
12 | 12 | minecraftVersion = providers.gradleProperty("mcVersion") |
13 | 13 | gitFilePatches = false |
14 | 14 |
|
|
27 | 27 | spigot { |
28 | 28 | enabled = true |
29 | 29 | buildDataRef = "281ac0de7a76d808753ede97d11b034bc801b63d" |
30 | | -@@ -105,7 +_,21 @@ |
| 30 | +@@ -107,7 +_,21 @@ |
31 | 31 | } |
32 | 32 | } |
33 | 33 |
|
|
50 | 50 | configurations.named(log4jPlugins.compileClasspathConfigurationName) { |
51 | 51 | extendsFrom(configurations.compileClasspath.get()) |
52 | 52 | } |
53 | | -@@ -127,7 +_,7 @@ |
| 53 | +@@ -129,7 +_,7 @@ |
54 | 54 | } |
55 | 55 |
|
56 | 56 | dependencies { |
|
59 | 59 | implementation("ca.spottedleaf:concurrentutil:0.0.3") |
60 | 60 | implementation("org.jline:jline-terminal-ffm:3.27.1") // use ffm on java 22+ |
61 | 61 | implementation("org.jline:jline-terminal-jni:3.27.1") // fall back to jni on java 21 |
62 | | -@@ -155,6 +_,10 @@ |
| 62 | +@@ -157,6 +_,10 @@ |
63 | 63 | implementation("org.spongepowered:configurate-yaml:4.2.0-20250225.064233-199") |
64 | 64 | implementation("org.spongepowered:configurate-core:4.2.0-20250225.064233-204") // Pinned dependency of above pinned yaml snapshot. |
65 | 65 |
|
|
70 | 70 | // Deps that were previously in the API but have now been moved here for backwards compat, eventually to be removed |
71 | 71 | runtimeOnly("commons-lang:commons-lang:2.6") |
72 | 72 | runtimeOnly("org.xerial:sqlite-jdbc:3.49.1.0") |
73 | | -@@ -203,14 +_,14 @@ |
| 73 | +@@ -205,14 +_,14 @@ |
74 | 74 | val gitBranch = git.exec(providers, "rev-parse", "--abbrev-ref", "HEAD").get().trim() |
75 | 75 | attributes( |
76 | 76 | "Main-Class" to "org.bukkit.craftbukkit.Main", |
|
90 | 90 | "Build-Number" to (build ?: ""), |
91 | 91 | "Build-Time" to buildTime.toString(), |
92 | 92 | "Git-Branch" to gitBranch, |
93 | | -@@ -269,7 +_,7 @@ |
| 93 | +@@ -271,7 +_,7 @@ |
94 | 94 | jvmArgumentProviders.add(provider) |
95 | 95 | } |
96 | 96 |
|
|
99 | 99 | idea { |
100 | 100 | module { |
101 | 101 | generatedSourceDirs.add(generatedDir.toFile()) |
102 | | -@@ -372,3 +_,43 @@ |
| 102 | +@@ -374,6 +_,46 @@ |
103 | 103 | classpath(tasks.createReobfPaperclipJar.flatMap { it.outputZip }) |
104 | 104 | mainClass.set(null as String?) |
105 | 105 | } |
|
143 | 143 | +// |
144 | 144 | +// return files.size |
145 | 145 | +// } |
| 146 | + |
| 147 | + fill { |
| 148 | + project("paper") |
0 commit comments