|
1 | | ---- a/leaf-server/build.gradle.kts |
2 | | -+++ b/leaf-server/build.gradle.kts |
3 | | -@@ -37,7 +_,30 @@ |
| 1 | +--- a/purpur-server/build.gradle.kts |
| 2 | ++++ b/purpur-server/build.gradle.kts |
| 3 | +@@ -33,7 +_,30 @@ |
| 4 | + outputDir = rootDirectory.dir("paper-server") |
4 | 5 | } |
5 | 6 | } |
6 | | - |
7 | | -- activeFork = leaf |
| 7 | +- activeFork = purpur |
8 | 8 | + // Deepslate start - project setup |
9 | 9 | + val deepslateMC = forks.register("deepslateMC") { |
10 | | -+ forks = leaf |
| 10 | ++ forks = purpur |
11 | 11 | + upstream.patchRepo("paperServer") { |
12 | | -+ upstreamRepo = leaf.patchedRepo("paperServer") |
| 12 | ++ upstreamRepo = purpur.patchedRepo("paperServer") |
13 | 13 | + patchesDir = rootDirectory.dir("deepslateMC-server/paper-patches") |
14 | 14 | + outputDir = rootDirectory.dir("paper-server") |
15 | 15 | + } |
16 | | -+ upstream.patchDir("leafServer") { |
17 | | -+ upstreamPath = "leaf-server" |
| 16 | ++ upstream.patchDir("purpurServer") { |
| 17 | ++ upstreamPath = "purpur-server" |
18 | 18 | + excludes = setOf( |
19 | 19 | + "src/minecraft", |
20 | 20 | + "paper-patches", |
21 | 21 | + "minecraft-patches", |
22 | 22 | + "build.gradle.kts", |
23 | 23 | + "build.gradle.kts.patch" |
24 | 24 | + ) |
25 | | -+ patchesDir = rootDirectory.dir("deepslateMC-server/leaf-patches") |
26 | | -+ outputDir = rootDirectory.dir("leaf-server") |
| 25 | ++ patchesDir = rootDirectory.dir("deepslateMC-server/purpur-patches") |
| 26 | ++ outputDir = rootDirectory.dir("purpur-server") |
27 | 27 | + } |
28 | 28 | + } |
29 | 29 | + |
30 | 30 | + activeFork = deepslateMC |
31 | 31 | + // Deepslate end - project setup |
32 | | - // Leaf end - project setup |
| 32 | + // Purpur end - Rebrand |
33 | 33 |
|
34 | 34 | spigot { |
35 | | -@@ -127,10 +_,14 @@ |
| 35 | +@@ -122,10 +_,14 @@ |
36 | 36 | main { |
37 | 37 | java { srcDir("../paper-server/src/main/java") } |
38 | 38 | resources { srcDir("../paper-server/src/main/resources") } |
39 | | -+ java { srcDir("../leaf-server/src/main/java") } // Deepslate - project setup |
40 | | -+ resources { srcDir("../leaf-server/src/main/resources") } // Deepslate - project setup |
| 39 | ++ java { srcDir("../purpur-server/src/main/java") } // Deepslate - project setup |
| 40 | ++ resources { srcDir("../purpur-server/src/main/resources") } // Deepslate - project setup |
41 | 41 | } |
42 | 42 | test { |
43 | 43 | java { srcDir("../paper-server/src/test/java") } |
44 | 44 | resources { srcDir("../paper-server/src/test/resources") } |
45 | | -+ java { srcDir("../leaf-server/src/test/java") } // Deepslate - project setup |
46 | | -+ resources { srcDir("../leaf-server/src/test/resources") } // Deepslate - project setup |
| 45 | ++ java { srcDir("../purpur-server/src/test/java") } // Deepslate - project setup |
| 46 | ++ resources { srcDir("../purpur-server/src/test/resources") } // Deepslate - project setup |
47 | 47 | } |
48 | 48 | } |
49 | | - |
50 | | -@@ -159,7 +_,7 @@ |
| 49 | + val log4jPlugins = sourceSets.create("log4jPlugins") { |
| 50 | +@@ -154,7 +_,7 @@ |
51 | 51 | } |
52 | 52 |
|
53 | 53 | dependencies { |
54 | | -- implementation(project(":leaf-api")) // Leaf - project setup |
55 | | -+ implementation(project(":deepslateMC-api")) // Leaf - project setup // Deepslate - project setup |
56 | | - |
57 | | - // Leaf start - Libraries |
58 | | - implementation("com.github.thatsmusic99:ConfigurationMaster-API:v2.0.0-rc.3") { // Leaf config |
59 | | -@@ -271,14 +_,14 @@ |
| 54 | +- implementation(project(":purpur-api")) // Purpur |
| 55 | ++ implementation(project(":deepslateMC-api")) // Purpur // Deepslate - project setup |
| 56 | + implementation("ca.spottedleaf:concurrentutil:0.0.7") |
| 57 | + implementation("org.jline:jline-terminal-ffm:3.27.1") // use ffm on java 22+ |
| 58 | + implementation("org.jline:jline-terminal-jni:3.27.1") // fall back to jni on java 21 |
| 59 | +@@ -228,14 +_,14 @@ |
60 | 60 | val gitBranch = git.exec(providers, "rev-parse", "--abbrev-ref", "HEAD").get().trim() |
61 | 61 | attributes( |
62 | 62 | "Main-Class" to "org.bukkit.craftbukkit.Main", |
63 | | -- "Implementation-Title" to "Leaf", // Leaf - Rebrand |
64 | | -+ "Implementation-Title" to "DeepslateMC", // Leaf - Rebrand // Deepslate - Rebrand |
| 63 | +- "Implementation-Title" to "Purpur", // Purpur |
| 64 | ++ "Implementation-Title" to "DeepslateMC", // Purpur // Deepslate - Rebrand |
65 | 65 | "Implementation-Version" to implementationVersion, |
66 | 66 | "Implementation-Vendor" to date, |
67 | | -- "Specification-Title" to "Leaf", // Leaf - Rebrand |
68 | | -+ "Specification-Title" to "DeepslateMC", // Leaf - Rebrand // Deepslate - Rebrand |
| 67 | +- "Specification-Title" to "Purpur", // Purpur |
| 68 | ++ "Specification-Title" to "DeepslateMC", // Purpur // Deepslate - Rebrand |
69 | 69 | "Specification-Version" to project.version, |
70 | | -- "Specification-Vendor" to "Winds Studio", // Leaf - Rebrand |
71 | | -- "Brand-Id" to "winds-studio:leaf", // Leaf - Rebrand |
72 | | -- "Brand-Name" to "Leaf", // Leaf - Rebrand |
73 | | -+ "Specification-Vendor" to "Pascalpex", // Leaf - Rebrand // Deepslate - Rebrand |
74 | | -+ "Brand-Id" to "pascalpex:deepslate", // Leaf - Rebrand // Deepslate - Rebrand |
75 | | -+ "Brand-Name" to "DeepslateMC", // Leaf - Rebrand // Deepslate - Rebrand |
| 70 | +- "Specification-Vendor" to "Purpur Team", // Purpur |
| 71 | +- "Brand-Id" to "purpurmc:purpur", // Purpur |
| 72 | +- "Brand-Name" to "Purpur", // Purpur |
| 73 | ++ "Specification-Vendor" to "Pascalpex", // Purpur // Deepslate - Rebrand |
| 74 | ++ "Brand-Id" to "pascalpex:deepslate", // Purpur // Deepslate - Rebrand |
| 75 | ++ "Brand-Name" to "DeepslateMC", // Purpur // Deepslate - Rebrand |
76 | 76 | "Build-Number" to (build ?: ""), |
77 | 77 | "Build-Time" to buildTime.toString(), |
78 | 78 | "Git-Branch" to gitBranch, |
0 commit comments