summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKyle Wood <[email protected]>2021-06-12 19:31:26 -0500
committerKyle Wood <[email protected]>2021-06-12 19:31:26 -0500
commitfa637ed8ddc23b1938978ce08d17be62527ff966 (patch)
tree85c9cf25c5e36b6a8fd70a0bd9c9e3427fed893a
parent2ba2c29b2ebd35a12d4f49ad6930feb9b0787430 (diff)
downloadPaper-fa637ed8ddc23b1938978ce08d17be62527ff966.tar.gz
Paper-fa637ed8ddc23b1938978ce08d17be62527ff966.zip
Cleanup project build config
-rw-r--r--build.gradle.kts7
-rw-r--r--gradle.properties5
2 files changed, 4 insertions, 8 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index c72aad1bc8..9c49ca8942 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -4,13 +4,10 @@ plugins {
id("io.papermc.paperweight.core") version "1.0.0-SNAPSHOT"
}
-group = "io.papermc.paper"
-version = providers.gradleProperty("projectVersion").forUseAtConfigurationTime().get()
-
val mcVersion = providers.gradleProperty("mcVersion")
val packageVersion = providers.gradleProperty("packageVersion")
-allprojects {
+subprojects {
apply(plugin = "java")
java {
@@ -18,9 +15,7 @@ allprojects {
languageVersion.set(JavaLanguageVersion.of(16))
}
}
-}
-subprojects {
tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
options.release.set(16)
diff --git a/gradle.properties b/gradle.properties
index c26ed1b3da..31b3057617 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,5 @@
+group = "io.papermc.paper"
+version = 1.17-R0.1-SNAPSHOT
+
mcVersion = 1.17
-projectVersion = 1.17-R0.1-SNAPSHOT
packageVersion = 1_17_R1
-org.gradle.jvmargs=-Xmx3G