|
1 | 1 | --- a/leaf-server/build.gradle.kts |
2 | 2 | +++ b/leaf-server/build.gradle.kts |
3 | | -@@ -54,7 +_,36 @@ |
| 3 | +@@ -39,7 +_,30 @@ |
4 | 4 | } |
5 | 5 | } |
6 | 6 |
|
|
13 | 13 | + patchesDir = rootDirectory.dir("deepslateMC-server/paper-patches") |
14 | 14 | + outputDir = rootDirectory.dir("paper-server") |
15 | 15 | + } |
16 | | -+ upstream.patchRepo("galeServer") { |
17 | | -+ upstreamRepo = leaf.patchedRepo("galeServer") |
18 | | -+ patchesDir = rootDirectory.dir("deepslateMC-server/gale-patches") |
19 | | -+ outputDir = rootDirectory.dir("gale-server") |
20 | | -+ } |
21 | 16 | + upstream.patchDir("leafServer") { |
22 | 17 | + upstreamPath = "leaf-server" |
23 | 18 | + excludes = setOf( |
24 | 19 | + "src/minecraft", |
25 | | -+ "gale-patches", |
26 | 20 | + "paper-patches", |
27 | 21 | + "minecraft-patches", |
28 | 22 | + "build.gradle.kts", |
|
36 | 30 | + activeFork = deepslateMC |
37 | 31 | + // Deepslate end - project setup |
38 | 32 | // Leaf end - project setup |
39 | | - // Gale end - project setup |
40 | 33 |
|
41 | | -@@ -146,12 +_,16 @@ |
| 34 | + spigot { |
| 35 | +@@ -128,10 +_,14 @@ |
| 36 | + main { |
| 37 | + java { srcDir("../paper-server/src/main/java") } |
42 | 38 | resources { srcDir("../paper-server/src/main/resources") } |
43 | | - java { srcDir("../gale-server/src/main/java") } // Leaf - project setup |
44 | | - resources { srcDir("../gale-server/src/main/resources") } // Leaf - project setup |
45 | 39 | + java { srcDir("../leaf-server/src/main/java") } // Deepslate - project setup |
46 | 40 | + resources { srcDir("../leaf-server/src/main/resources") } // Deepslate - project setup |
47 | 41 | } |
48 | 42 | test { |
49 | 43 | java { srcDir("../paper-server/src/test/java") } |
50 | 44 | resources { srcDir("../paper-server/src/test/resources") } |
51 | | - java { srcDir("../gale-server/src/test/java") } // Leaf - project setup |
52 | | - resources { srcDir("../gale-server/src/test/resources") } // Leaf - project setup |
53 | 45 | + java { srcDir("../leaf-server/src/test/java") } // Deepslate - project setup |
54 | 46 | + resources { srcDir("../leaf-server/src/test/resources") } // Deepslate - project setup |
55 | 47 | } |
56 | 48 | } |
57 | 49 |
|
58 | | -@@ -176,7 +_,7 @@ |
| 50 | +@@ -160,7 +_,7 @@ |
59 | 51 | } |
60 | 52 |
|
61 | 53 | dependencies { |
62 | | -- implementation(project(":leaf-api")) // Gale - project setup - Depend on own API // Leaf - project setup |
63 | | -+ implementation(project(":deepslateMC-api")) // Gale - project setup - Depend on own API // Leaf - project setup // Deepslate - project setup |
| 54 | +- implementation(project(":leaf-api")) // Leaf - project setup |
| 55 | ++ implementation(project(":deepslateMC-api")) // Leaf - project setup // Deepslate - project setup |
64 | 56 |
|
65 | 57 | // Leaf start - Libraries |
66 | 58 | implementation("com.github.thatsmusic99:ConfigurationMaster-API:v2.0.0-rc.3") { // Leaf config |
67 | | -@@ -285,14 +_,14 @@ |
| 59 | +@@ -270,14 +_,14 @@ |
68 | 60 | val gitBranch = git.exec(providers, "rev-parse", "--abbrev-ref", "HEAD").get().trim() |
69 | 61 | attributes( |
70 | 62 | "Main-Class" to "org.bukkit.craftbukkit.Main", |
71 | | -- "Implementation-Title" to "Leaf", // Gale - branding changes // Leaf - Rebrand |
72 | | -+ "Implementation-Title" to "DeepslateMC", // Gale - branding changes // Leaf - Rebrand // Deepslate - Rebrand |
| 63 | +- "Implementation-Title" to "Leaf", // Leaf - Rebrand |
| 64 | ++ "Implementation-Title" to "DeepslateMC", // Leaf - Rebrand // Deepslate - Rebrand |
73 | 65 | "Implementation-Version" to implementationVersion, |
74 | 66 | "Implementation-Vendor" to date, |
75 | | -- "Specification-Title" to "Leaf", // Gale - branding changes // Leaf - Rebrand |
76 | | -+ "Specification-Title" to "DeepslateMC", // Gale - branding changes // Leaf - Rebrand // Deepslate - Rebrand |
| 67 | +- "Specification-Title" to "Leaf", // Leaf - Rebrand |
| 68 | ++ "Specification-Title" to "DeepslateMC", // Leaf - Rebrand // Deepslate - Rebrand |
77 | 69 | "Specification-Version" to project.version, |
78 | | -- "Specification-Vendor" to "Winds Studio", // Gale - branding changes // Leaf - Rebrand |
79 | | -- "Brand-Id" to "winds-studio:leaf", // Gale - branding changes // Leaf - Rebrand |
80 | | -- "Brand-Name" to "Leaf", // Gale - branding changes // Leaf - Rebrand |
81 | | -+ "Specification-Vendor" to "Pascalpex", // Gale - branding changes // Leaf - Rebrand // Deepslate - Rebrand |
82 | | -+ "Brand-Id" to "pascalpex:deepslate", // Gale - branding changes // Leaf - Rebrand // Deepslate - Rebrand |
83 | | -+ "Brand-Name" to "DeepslateMC", // Gale - branding changes // Leaf - Rebrand // Deepslate - Rebrand |
| 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 |
84 | 76 | "Build-Number" to (build ?: ""), |
85 | 77 | "Build-Time" to buildTime.toString(), |
86 | 78 | "Git-Branch" to gitBranch, |
0 commit comments