Minor improvements to build setup

This commit is contained in:
Kyle Wood 2021-06-12 17:52:20 -05:00
parent 8bb2e1266f
commit 01183d2c19
No known key found for this signature in database
GPG Key ID: 86AF5613ACA30CC5
3 changed files with 4 additions and 14 deletions

View File

@ -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"))

View File

@ -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

View File

@ -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/")
} }