aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-05-08 02:13:08 +0200
committernea <nea@nea.moe>2023-05-08 02:13:08 +0200
commitb86c8704ba2d1d3b70d6259168caaa0ccf412e72 (patch)
treec8705e82e8885642f971c734e158828b6025f35f /build.gradle.kts
parentbc4fcb1f87e4654723aaf489347c4330860655b0 (diff)
downloadFirmament-b86c8704ba2d1d3b70d6259168caaa0ccf412e72.tar.gz
Firmament-b86c8704ba2d1d3b70d6259168caaa0ccf412e72.tar.bz2
Firmament-b86c8704ba2d1d3b70d6259168caaa0ccf412e72.zip
Clean up buildscript a bit
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts4
1 files changed, 2 insertions, 2 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") {