diff --git a/build.gradle b/build.gradle index 7655a34..61d0919 100644 --- a/build.gradle +++ b/build.gradle @@ -31,6 +31,19 @@ dependencies { // modImplementation "com.jamieswhiteshirt:reach-entity-attributes:${project.rea_version}" } +processResources { + inputs.property "version", project.version + inputs.property "minecraft_version", project.minecraft_version + inputs.property "loader_version", project.loader_version + filteringCharset "UTF-8" + + filesMatching("fabric.mod.json") { + expand "version": project.version, + "minecraft_version": project.minecraft_version, + "loader_version": project.loader_version + } +} + sourceSets { testmod { compileClasspath += main.compileClasspath diff --git a/gradle.properties b/gradle.properties index 5174d2f..f839551 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ yarn_mappings=1.20.1+build.10 loader_version=0.14.22 # Mod Properties -mod_version=1.10.0 +mod_version=1.10.1 maven_group=dev.draylar archives_base_name=magna