Gradle & Paperclip updates

This commit is contained in:
Kyle Wood 2021-06-14 23:17:16 -05:00
parent f5f80a4aed
commit 5b49459c64
No known key found for this signature in database
GPG Key ID: 86AF5613ACA30CC5
2 changed files with 6 additions and 9 deletions

View File

@ -4,9 +4,6 @@ plugins {
id("io.papermc.paperweight.core") version "1.0.0-SNAPSHOT"
}
val mcVersion = providers.gradleProperty("mcVersion")
val packageVersion = providers.gradleProperty("packageVersion")
subprojects {
apply(plugin = "java")
@ -39,7 +36,7 @@ subprojects {
repositories {
mavenCentral()
maven("https://wav.jfrog.io/artifactory/repo/") { // TODO replace with "https://papermc.io/repo/repository/maven-public/" once paperclip is deplyoed there
maven("https://papermc.io/repo/repository/maven-public/") {
content {
onlyForConfigurations("paperclip")
}
@ -59,13 +56,13 @@ repositories {
dependencies {
paramMappings("org.quiltmc:yarn:1.17+build.2:mergedv2")
remapper("org.quiltmc:tiny-remapper:0.4.1")
decompiler("net.minecraftforge:forgeflower:1.5.498.12@jar")
paperclip("io.papermc:paperclip:2.0.0-SNAPSHOT@jar")
decompiler("net.minecraftforge:forgeflower:1.5.498.12")
paperclip("io.papermc:paperclip:2.0.0@jar")
}
paperweight {
minecraftVersion.set(mcVersion)
versionPackage.set(packageVersion)
minecraftVersion.set(providers.gradleProperty("mcVersion"))
versionPackage.set(providers.gradleProperty("packageVersion"))
serverProject.set(project(":Paper-Server"))
paper {

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists