mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Cleanup project build config
This commit is contained in:
parent
10882402df
commit
3d38374f46
2 changed files with 4 additions and 8 deletions
|
@ -4,13 +4,10 @@ plugins {
|
||||||
id("io.papermc.paperweight.core") version "1.0.0-SNAPSHOT"
|
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 mcVersion = providers.gradleProperty("mcVersion")
|
||||||
val packageVersion = providers.gradleProperty("packageVersion")
|
val packageVersion = providers.gradleProperty("packageVersion")
|
||||||
|
|
||||||
allprojects {
|
subprojects {
|
||||||
apply(plugin = "java")
|
apply(plugin = "java")
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
@ -18,9 +15,7 @@ allprojects {
|
||||||
languageVersion.set(JavaLanguageVersion.of(16))
|
languageVersion.set(JavaLanguageVersion.of(16))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
subprojects {
|
|
||||||
tasks.withType<JavaCompile>().configureEach {
|
tasks.withType<JavaCompile>().configureEach {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
options.release.set(16)
|
options.release.set(16)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
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
|
||||||
org.gradle.jvmargs=-Xmx3G
|
|
||||||
|
|
Loading…
Reference in a new issue