diff options
Diffstat (limited to 'patches/server/0001-Setup-Gradle-project.patch')
-rw-r--r-- | patches/server/0001-Setup-Gradle-project.patch | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/patches/server/0001-Setup-Gradle-project.patch b/patches/server/0001-Setup-Gradle-project.patch index 9f3bc56dc2..cb54f9ad40 100644 --- a/patches/server/0001-Setup-Gradle-project.patch +++ b/patches/server/0001-Setup-Gradle-project.patch @@ -20,10 +20,10 @@ index 67fb370cad6924895a6b27052dbd5c1767e3f0c9..3e05459f27c4c5697ae65da504d67a6a /.project diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 -index 0000000000000000000000000000000000000000..fada7057dcb81c3206bdb0ca1730c3df2420ae3e +index 0000000000000000000000000000000000000000..596b4f52bc57eca8cc7a0138a1e36d71c1d73ca6 --- /dev/null +++ b/build.gradle.kts -@@ -0,0 +1,135 @@ +@@ -0,0 +1,134 @@ +import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer +import com.github.jengelman.gradle.plugins.shadow.transformers.Transformer +import io.papermc.paperweight.util.Git @@ -39,8 +39,6 @@ index 0000000000000000000000000000000000000000..fada7057dcb81c3206bdb0ca1730c3df + id("com.github.johnrengelman.shadow") +} + -+val packageVersion = providers.gradleProperty("packageVersion").forUseAtConfigurationTime().get() -+ +repositories { + maven("https://libraries.minecraft.net/") +} @@ -101,6 +99,7 @@ index 0000000000000000000000000000000000000000..fada7057dcb81c3206bdb0ca1730c3df +tasks.shadowJar { + archiveClassifier.set("mojang-mapped") + ++ val packageVersion = "1_17_R1" + relocate("org.bukkit.craftbukkit", "org.bukkit.craftbukkit.v$packageVersion") { + exclude("org.bukkit.craftbukkit.Main*") + } |