everything works again!

This commit is contained in:
Ben Kerllenevich
2021-06-13 06:58:48 -04:00
parent ef7f70f6f2
commit 345abf2b7d
6 changed files with 30 additions and 31 deletions

View File

@@ -21,8 +21,8 @@ repositories {
}
dependencies {
remapper("org.quiltmc", "tiny-remapper", "0.4.1")
paperclip("io.papermc", "paperclip", "2.0.0-SNAPSHOT@jar")
remapper("org.quiltmc:tiny-remapper:0.4.1")
paperclip("io.papermc:paperclip:2.0.0-SNAPSHOT@jar")
}
subprojects {
@@ -64,6 +64,18 @@ val initSubmodules by tasks.registering {
paperweight {
serverProject.set(project(":Purpur-Server"))
/* // this is the code for without submodules in case we ever want to use it
usePaperUpstream(providers.gradleProperty("paperRef")) {
withPaperPatcher {
apiPatchDir.set(layout.projectDirectory.dir("patches/api"))
apiOutputDir.set(layout.projectDirectory.dir("Purpur-API"))
serverPatchDir.set(layout.projectDirectory.dir("patches/server"))
serverOutputDir.set(layout.projectDirectory.dir("Purpur-Server"))
}
}
*/
upstreams {
register("paper") {
upstreamDataTask {
@@ -86,4 +98,4 @@ paperweight {
}
}
}
}
}