mirror of
https://github.com/PaperMC/Folia.git
synced 2024-11-21 11:55:11 +01:00
Minor improvements to build setup
This commit is contained in:
parent
8bb2e1266f
commit
01183d2c19
@ -1,12 +1,9 @@
|
|||||||
plugins {
|
plugins {
|
||||||
java
|
java
|
||||||
id("com.github.johnrengelman.shadow") version "7.0.0" apply false
|
id("com.github.johnrengelman.shadow") version "7.0.0" apply false
|
||||||
id("io.papermc.paperweight.patcher") version "1.0.0-LOCAL-SNAPSHOT"
|
id("io.papermc.paperweight.patcher") version "1.0.0-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "io.papermc.paper"
|
|
||||||
version = providers.gradleProperty("projectVersion").forUseAtConfigurationTime().get()
|
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
apply(plugin = "java")
|
apply(plugin = "java")
|
||||||
|
|
||||||
@ -23,10 +20,6 @@ subprojects {
|
|||||||
options.release.set(16)
|
options.release.set(16)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name == "Paper-MojangAPI") {
|
|
||||||
return@subprojects
|
|
||||||
}
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven("https://repo1.maven.org/maven2/")
|
maven("https://repo1.maven.org/maven2/")
|
||||||
@ -39,10 +32,6 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation(gradleApi())
|
|
||||||
}
|
|
||||||
|
|
||||||
paperweight {
|
paperweight {
|
||||||
serverProject.set(project(":ForkTest-Server"))
|
serverProject.set(project(":ForkTest-Server"))
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
group = io.papermc.paper
|
||||||
|
version = 1.17-R0.1-SNAPSHOT
|
||||||
|
|
||||||
mcVersion = 1.17
|
mcVersion = 1.17
|
||||||
projectVersion = 1.17-R0.1-SNAPSHOT
|
|
||||||
packageVersion = 1_17_R1
|
packageVersion = 1_17_R1
|
||||||
paperRef = dev/1.17
|
paperRef = dev/1.17
|
||||||
org.gradle.jvmargs=-Xmx3G
|
org.gradle.jvmargs=-Xmx3G
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
maven("https://wav.jfrog.io/artifactory/repo/")
|
maven("https://wav.jfrog.io/artifactory/repo/")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user