Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
Gradle & Paperclip updates
Dieser Commit ist enthalten in:
Ursprung
f5f80a4aed
Commit
5b49459c64
@ -4,9 +4,6 @@ plugins {
|
|||||||
id("io.papermc.paperweight.core") version "1.0.0-SNAPSHOT"
|
id("io.papermc.paperweight.core") version "1.0.0-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
val mcVersion = providers.gradleProperty("mcVersion")
|
|
||||||
val packageVersion = providers.gradleProperty("packageVersion")
|
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
apply(plugin = "java")
|
apply(plugin = "java")
|
||||||
|
|
||||||
@ -39,7 +36,7 @@ subprojects {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
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 {
|
content {
|
||||||
onlyForConfigurations("paperclip")
|
onlyForConfigurations("paperclip")
|
||||||
}
|
}
|
||||||
@ -59,13 +56,13 @@ repositories {
|
|||||||
dependencies {
|
dependencies {
|
||||||
paramMappings("org.quiltmc:yarn:1.17+build.2:mergedv2")
|
paramMappings("org.quiltmc:yarn:1.17+build.2:mergedv2")
|
||||||
remapper("org.quiltmc:tiny-remapper:0.4.1")
|
remapper("org.quiltmc:tiny-remapper:0.4.1")
|
||||||
decompiler("net.minecraftforge:forgeflower:1.5.498.12@jar")
|
decompiler("net.minecraftforge:forgeflower:1.5.498.12")
|
||||||
paperclip("io.papermc:paperclip:2.0.0-SNAPSHOT@jar")
|
paperclip("io.papermc:paperclip:2.0.0@jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
paperweight {
|
paperweight {
|
||||||
minecraftVersion.set(mcVersion)
|
minecraftVersion.set(providers.gradleProperty("mcVersion"))
|
||||||
versionPackage.set(packageVersion)
|
versionPackage.set(providers.gradleProperty("packageVersion"))
|
||||||
serverProject.set(project(":Paper-Server"))
|
serverProject.set(project(":Paper-Server"))
|
||||||
|
|
||||||
paper {
|
paper {
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
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
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren