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
1 changed files with 9 additions and 1 deletions

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")
}