From 63de2da6bc4fca723b8ae13b921d030c008b3583 Mon Sep 17 00:00:00 2001 From: Jan Bayer Date: Fri, 26 Jan 2024 11:02:06 +0100 Subject: [PATCH] Move kff_version to gradle.properties --- build.gradle.kts | 3 ++- gradle.properties | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 79a1a77..659dfa9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -103,7 +103,8 @@ dependencies { implementation("net.neoforged:neoforge:$neo_version") // Dependency on KFF - implementation("thedarkcolour:kotlinforforge-neoforge:4.10.0") + val kff_version: String by project + implementation("thedarkcolour:kotlinforforge-neoforge:$kff_version") // Example mod dependency with JEI // The JEI API is declared for compile time use, while the full JEI artifact is used at runtime diff --git a/gradle.properties b/gradle.properties index a7ff627..11d62b7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,6 +22,7 @@ neo_version_range=[20.4,) # The loader version range can only use the major version of FML as bounds loader_version_range=[2,) # Mods using Kotlin entrypoints use KFF as a loader, which has different versioning +kff_version=4.10.0 kff_version_range=[4.10,) ## Mod Properties