From 5b6f1b9e496b297e93d3919b06f109d8a62067ad Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Thu, 7 Apr 2022 12:45:30 -0500 Subject: [PATCH] Change this too --- build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index c1671e5..b64c2e5 100644 --- a/build.gradle +++ b/build.gradle @@ -23,8 +23,10 @@ repositories { mavenCentral() } +def paperVersion = "1.18.2" + dependencies { - paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.18.2-R0.1-SNAPSHOT") + paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:${paperVersion}-R0.1-SNAPSHOT") library("org.json:json:20220320") library("org.projectlombok:lombok:1.18.22") annotationProcessor("org.projectlombok:lombok:1.18.22") @@ -61,7 +63,7 @@ tasks.withType(JavaCompile) { } reobfJar { - setArchivesBaseName("Blackout") + setArchivesBaseName("Blackout-${paperVersion}") } tasks {