diff options
author | Jason Penilla <[email protected]> | 2022-04-07 09:36:19 -0700 |
---|---|---|
committer | Jason Penilla <[email protected]> | 2022-04-13 20:41:37 -0700 |
commit | 0954966638822410a9ce32c6ea8ae4110d10a8ba (patch) | |
tree | 10a92fbddaf74d21c4fbecefeb0abf661c747312 | |
parent | 2c0515f6aac864af51d9839399698d61d5d00dd8 (diff) | |
download | Paper-0954966638822410a9ce32c6ea8ae4110d10a8ba.tar.gz Paper-0954966638822410a9ce32c6ea8ae4110d10a8ba.zip |
Use patched spigot decompiler
-rw-r--r-- | build.gradle.kts | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index f236babfca..ad0667f8be 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -38,10 +38,17 @@ subprojects { } } +val spigotDecompiler: Configuration by configurations.creating + repositories { mavenCentral() maven("https://papermc.io/repo/repository/maven-public/") { - content { onlyForConfigurations("paperclip") } + content { + onlyForConfigurations( + configurations.paperclip.name, + spigotDecompiler.name, + ) + } } } @@ -49,6 +56,7 @@ dependencies { paramMappings("net.fabricmc:yarn:1.17.1+build.65:mergedv2") remapper("net.fabricmc:tiny-remapper:0.6.0:fat") decompiler("net.minecraftforge:forgeflower:1.5.498.12") + spigotDecompiler("io.papermc:patched-spigot-fernflower:0.1+build.4") paperclip("io.papermc:paperclip:2.0.1") } @@ -60,6 +68,10 @@ paperweight { remapRepo.set("https://maven.fabricmc.net/") decompileRepo.set("https://files.minecraftforge.net/maven/") + craftBukkit { + fernFlowerJar.set(layout.file(spigotDecompiler.elements.map { it.single().asFile })) + } + paper { spigotApiPatchDir.set(layout.projectDirectory.dir("patches/api")) spigotServerPatchDir.set(layout.projectDirectory.dir("patches/server")) |