Gradle & Paperclip updates
This commit is contained in:
parent
f5f80a4aed
commit
5b49459c64
2 changed files with 6 additions and 9 deletions
|
@ -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 {
|
||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue