build: add TAWs and fix LibJF CFG

This commit is contained in:
Johannes Frohnmeyer 2023-07-16 14:38:19 +02:00
parent f87479993b
commit d8a3e48931
Signed by: Johannes
GPG Key ID: E76429612C2929F4

View File

@ -1,4 +1,4 @@
<plugins { plugins {
id("jfmod") version "1.5-SNAPSHOT" id("jfmod") version "1.5-SNAPSHOT"
} }
@ -9,6 +9,7 @@ jfMod {
minecraftVersion = "1.20.1" minecraftVersion = "1.20.1"
yarn("build.9") yarn("build.9")
loaderVersion = "0.14.21" loaderVersion = "0.14.21"
libJfVersion = "3.9.0"
modrinth { modrinth {
projectId = "yescheat" projectId = "yescheat"
@ -17,12 +18,13 @@ jfMod {
} }
dependencies { dependencies {
val libjfVersion = "3.9.0" val fabricVersion = "0.85.0+${jfMod.minecraftVersion.get()}"
modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v1:$libjfVersion") modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v1:${jfMod.libJfVersion.get()}")
include(modImplementation(fabricApi.module("fabric-transitive-access-wideners-v1", fabricVersion))!!)
// Dev env // Dev env
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny-v1:$libjfVersion") modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny-v1:${jfMod.libJfVersion.get()}")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:$libjfVersion") modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${jfMod.libJfVersion.get()}")
modLocalRuntime("com.terraformersmc:modmenu:7.1.0") modLocalRuntime("com.terraformersmc:modmenu:7.1.0")
} }