From 3a93927adecc523583a2ad9c7824f6aa6234f965 Mon Sep 17 00:00:00 2001 From: "neoforge-mdk-automation[bot]" <173375039+neoforge-mdk-automation[bot]@users.noreply.github.com> Date: Wed, 9 Jul 2025 04:30:32 +0000 Subject: [PATCH] Update MDK with new output from mod generator (#9) * Update MDK with new output from mod generator * Update MDK with new output from mod generator * Update MDK with new output from mod generator * Update MDK with new output from mod generator --------- Co-authored-by: NeoForge MDK Automation <173375039+neoforge-mdk-automation[bot]@users.noreply.github.com> --- build.gradle | 3 +-- gradle.properties | 4 +--- gradle/wrapper/gradle-wrapper.properties | 2 +- src/main/resources/META-INF/neoforge.mods.toml | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index a28d6eb..e6c3ba6 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ base { archivesName = mod_id } -// Mojang ships Java 21 to end users starting in 1.20.5, so mods should target Java 21. +// Mojang ships Java 21 to end users in 1.21.1, so mods should target Java 21. java.toolchain.languageVersion = JavaLanguageVersion.of(21) //minecraft.accessTransformers.file rootProject.file('src/main/resources/META-INF/accesstransformer.cfg') @@ -128,7 +128,6 @@ tasks.withType(ProcessResources).configureEach { minecraft_version : minecraft_version, minecraft_version_range: minecraft_version_range, neo_version : neo_version, - neo_version_range : neo_version_range, loader_version_range : loader_version_range, mod_id : mod_id, mod_name : mod_name, diff --git a/gradle.properties b/gradle.properties index bb158d4..17337d9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,9 +18,7 @@ minecraft_version=1.21.1 # as they do not follow standard versioning conventions. minecraft_version_range=[1.21.1] # The Neo version must agree with the Minecraft version to get a valid artifact -neo_version=21.1.186 -# The Neo version range can use any version of Neo as bounds -neo_version_range=[21.1.186,) +neo_version=21.1.187 # The loader version range can only use the major version of FML as bounds loader_version_range=[1,) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ff23a68..d4081da 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/src/main/resources/META-INF/neoforge.mods.toml b/src/main/resources/META-INF/neoforge.mods.toml index bb66c4c..b691b17 100644 --- a/src/main/resources/META-INF/neoforge.mods.toml +++ b/src/main/resources/META-INF/neoforge.mods.toml @@ -69,7 +69,7 @@ description='''${mod_description}''' # Optional field describing why the dependency is required or why it is incompatible # reason="..." # The version range of the dependency - versionRange="${neo_version_range}" #mandatory + versionRange="[${neo_version},)" #mandatory # An ordering relationship for the dependency. # BEFORE - This mod is loaded BEFORE the dependency # AFTER - This mod is loaded AFTER the dependency