From 53755af9752d83558ba2085d18ea152c13202919 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Fri, 22 Apr 2022 00:09:47 -0500 Subject: [PATCH] Update Paper --- build.gradle.kts | 20 ++++++++++---------- gradle.properties | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 2a68049..19c939a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,22 +1,22 @@ -import io.papermc.paperweight.util.constants.* - plugins { java `maven-publish` id("com.github.johnrengelman.shadow") version "7.1.2" apply false - id("io.papermc.paperweight.patcher") version "1.3.4" + id("io.papermc.paperweight.patcher") version "1.3.6" } +val paperMavenPublicUrl = "https://papermc.io/repo/repository/maven-public/" + repositories { mavenCentral() - maven("https://papermc.io/repo/repository/maven-public/") { - content { onlyForConfigurations(PAPERCLIP_CONFIG) } + maven(paperMavenPublicUrl) { + content { onlyForConfigurations(configurations.paperclip.name) } } } dependencies { - remapper("net.fabricmc:tiny-remapper:0.8.1:fat") - decompiler("net.minecraftforge:forgeflower:1.5.498.22") + remapper("net.fabricmc:tiny-remapper:0.8.2:fat") + decompiler("net.minecraftforge:forgeflower:1.5.498.29") paperclip("io.papermc:paperclip:3.0.2") } @@ -45,15 +45,15 @@ subprojects { repositories { mavenCentral() - maven("https://papermc.io/repo/repository/maven-public/") + maven(paperMavenPublicUrl) } } paperweight { serverProject.set(project(":Scissors-Server")) - remapRepo.set("https://maven.fabricmc.net/") - decompileRepo.set("https://files.minecraftforge.net/maven/") + remapRepo.set(paperMavenPublicUrl) + decompileRepo.set(paperMavenPublicUrl) usePaperUpstream(providers.gradleProperty("paperRef")) { withPaperPatcher { diff --git a/gradle.properties b/gradle.properties index 54cf2af..1013384 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ group=me.totalfreedom.scissors version=1.18.2-R0.1-SNAPSHOT mcVersion=1.18.2 -paperRef=76ed1567647011e23266b9da97624200ebe7639d +paperRef=c449f6a1f712b81b50e250a2e258ef3e37fd6b9b org.gradle.caching=true org.gradle.parallel=true