Update Paper

This commit is contained in:
Telesphoreo 2022-04-22 00:09:47 -05:00
parent ef929a72a2
commit 53755af975
2 changed files with 11 additions and 11 deletions

View File

@ -1,22 +1,22 @@
import io.papermc.paperweight.util.constants.*
plugins { plugins {
java java
`maven-publish` `maven-publish`
id("com.github.johnrengelman.shadow") version "7.1.2" apply false 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 { repositories {
mavenCentral() mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/") { maven(paperMavenPublicUrl) {
content { onlyForConfigurations(PAPERCLIP_CONFIG) } content { onlyForConfigurations(configurations.paperclip.name) }
} }
} }
dependencies { dependencies {
remapper("net.fabricmc:tiny-remapper:0.8.1:fat") remapper("net.fabricmc:tiny-remapper:0.8.2:fat")
decompiler("net.minecraftforge:forgeflower:1.5.498.22") decompiler("net.minecraftforge:forgeflower:1.5.498.29")
paperclip("io.papermc:paperclip:3.0.2") paperclip("io.papermc:paperclip:3.0.2")
} }
@ -45,15 +45,15 @@ subprojects {
repositories { repositories {
mavenCentral() mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/") maven(paperMavenPublicUrl)
} }
} }
paperweight { paperweight {
serverProject.set(project(":Scissors-Server")) serverProject.set(project(":Scissors-Server"))
remapRepo.set("https://maven.fabricmc.net/") remapRepo.set(paperMavenPublicUrl)
decompileRepo.set("https://files.minecraftforge.net/maven/") decompileRepo.set(paperMavenPublicUrl)
usePaperUpstream(providers.gradleProperty("paperRef")) { usePaperUpstream(providers.gradleProperty("paperRef")) {
withPaperPatcher { withPaperPatcher {

View File

@ -2,7 +2,7 @@ group=me.totalfreedom.scissors
version=1.18.2-R0.1-SNAPSHOT version=1.18.2-R0.1-SNAPSHOT
mcVersion=1.18.2 mcVersion=1.18.2
paperRef=76ed1567647011e23266b9da97624200ebe7639d paperRef=c449f6a1f712b81b50e250a2e258ef3e37fd6b9b
org.gradle.caching=true org.gradle.caching=true
org.gradle.parallel=true org.gradle.parallel=true