From b86c8704ba2d1d3b70d6259168caaa0ccf412e72 Mon Sep 17 00:00:00 2001 From: nea Date: Mon, 8 May 2023 02:13:08 +0200 Subject: Clean up buildscript a bit --- build.gradle.kts | 4 ++-- gradle.properties | 16 ++-------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index da819c5..3c2cc3c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -129,8 +129,8 @@ tasks.remapJar { tasks.processResources { val replacements = listOf( "version" to project.version, - "minecraft_version" to project.property("minecraft_version"), - "fabric_kotlin_version" to project.property("fabric_kotlin_version") + "minecraft_version" to libs.versions.minecraft.get(), + "fabric_kotlin_version" to libs.versions.fabric.kotlin.get() ).map { (k, v) -> k to v.toString() } replacements.forEach { (key, value) -> inputs.property(key, value) } filesMatching("**/fabric.mod.json") { diff --git a/gradle.properties b/gradle.properties index 975ab21..f266cde 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,19 +4,7 @@ org.gradle.jvmargs=-Xmx4096M minecraft_version=1.19.4 loom.platform=fabric -archives_base_name=notenoughupdates +archives_base_name=Firmament mod_version=1.0.0 -maven_group=moe.nea.notenoughupdates +maven_group=moe.nea.firmament -fabric_loader_version=0.14.19 -fabric_api_version=0.80.0+1.19.4 -fabric_kotlin_version=1.9.4+kotlin.1.8.21 -yarn_version=1.19.4+build.2 - -libgui_version=7.0.0-rc.1+1.19.4 -rei_version=11.0.597 -devauth_version=1.0.0 -modmenu_version=6.2.1 -ktor_version=2.3.0 - -dbus_java_version=4.2.1 -- cgit