From 01183d2c194e7da5870d5d5e6e7514c741d84b54 Mon Sep 17 00:00:00 2001 From: Kyle Wood Date: Sat, 12 Jun 2021 17:52:20 -0500 Subject: [PATCH] Minor improvements to build setup --- build.gradle.kts | 13 +------------ gradle.properties | 4 +++- settings.gradle.kts | 1 - 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3e24846..dfa0c15 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,12 +1,9 @@ plugins { java 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 { apply(plugin = "java") @@ -23,10 +20,6 @@ subprojects { options.release.set(16) } - if (name == "Paper-MojangAPI") { - return@subprojects - } - repositories { mavenCentral() maven("https://repo1.maven.org/maven2/") @@ -39,10 +32,6 @@ subprojects { } } -dependencies { - implementation(gradleApi()) -} - paperweight { serverProject.set(project(":ForkTest-Server")) diff --git a/gradle.properties b/gradle.properties index c3f804b..039cac2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,7 @@ +group = io.papermc.paper +version = 1.17-R0.1-SNAPSHOT + mcVersion = 1.17 -projectVersion = 1.17-R0.1-SNAPSHOT packageVersion = 1_17_R1 paperRef = dev/1.17 org.gradle.jvmargs=-Xmx3G diff --git a/settings.gradle.kts b/settings.gradle.kts index 688e49a..a4d9062 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,6 +1,5 @@ pluginManagement { repositories { - mavenLocal() gradlePluginPortal() maven("https://wav.jfrog.io/artifactory/repo/") }