Attempt to speed up compilation process

https://github.com/PaperMC/Paper/pull/7706
This commit is contained in:
Telesphoreo 2022-04-11 01:39:25 -05:00
parent ec3e517057
commit 96c05b397e

View file

@ -7,16 +7,24 @@ plugins {
id("io.papermc.paperweight.patcher") version "1.2.0"
}
val spigotDecompiler: Configuration by configurations.creating
repositories {
mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/") {
content { onlyForConfigurations(PAPERCLIP_CONFIG) }
content {
onlyForConfigurations(
configurations.paperclip.name,
spigotDecompiler.name,
)
}
}
}
dependencies {
remapper("net.fabricmc:tiny-remapper:0.8.1:fat")
decompiler("net.minecraftforge:forgeflower:1.5.498.22")
spigotDecompiler("io.papermc:patched-spigot-fernflower:0.1+build.4")
paperclip("io.papermc:paperclip:2.0.1")
}