Update LibZontreck compatibility

This commit is contained in:
Tara 2023-01-22 03:30:37 -07:00
parent b616eeeeb2
commit 973653712c
3 changed files with 12 additions and 6 deletions

View file

@ -135,9 +135,9 @@ dependencies {
// The userdev artifact is a special name and will get all sorts of transformations applied to it. // The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft "net.minecraftforge:forge:${mc_version}-${forge_version}" minecraft "net.minecraftforge:forge:${mc_version}-${forge_version}"
implementation fg.deobf("dev.zontreck:libzontreck:${libz_version}:dev") implementation fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}:dev")
runtimeOnly fg.deobf("dev.zontreck:libzontreck:${libz_version}") runtimeOnly fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}")
compileOnly fg.deobf("dev.zontreck:libzontreck:${libz_version}:dev") compileOnly fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}:dev")
// Real mod deobf dependency examples - these get remapped to your current mappings // Real mod deobf dependency examples - these get remapped to your current mappings
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency // compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency

View file

@ -5,5 +5,5 @@ org.gradle.daemon=false
mc_version=1.19.2 mc_version=1.19.2
forge_version=43.2.3 forge_version=43.2.3
myversion=1.1.2.4 myversion=1.1.2.5
libz_version=1.0.2.4 libz_version=1.0.3.6

View file

@ -19,7 +19,7 @@ modId="watchmydurability" #mandatory
# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
# ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata # ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata
# see the associated build.gradle script for how to populate this completely automatically during a build # see the associated build.gradle script for how to populate this completely automatically during a build
version="1.1.2.4" #mandatory version="1.1.2.5" #mandatory
# A display name for the mod # A display name for the mod
displayName="Watch My Durability" #mandatory displayName="Watch My Durability" #mandatory
# A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/ # A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/
@ -68,3 +68,9 @@ Edit the config file to customize the alerts
versionRange="[1.19.2,1.20)" versionRange="[1.19.2,1.20)"
ordering="NONE" ordering="NONE"
side="CLIENT" side="CLIENT"
[[dependencies.watchmydurability]]
modId="libzontreck"
mandatory=true
versionRange="[1.0.3.5,)"
ordering="NONE"
side="CLIENT"