diff --git a/build.gradle.kts b/build.gradle.kts index 2ef9431..334f8b3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -30,6 +30,10 @@ java { withSourcesJar() } +loom { + accessWidenerPath = file("src/main/resources/itfollows.accesswidener") +} + tasks { processResources { inputs.property("version", libs.versions.mod.get()) diff --git a/gradle.properties b/gradle.properties deleted file mode 100644 index 8aa4789..0000000 --- a/gradle.properties +++ /dev/null @@ -1,14 +0,0 @@ -org.gradle.jvmargs = -Xmx1G -org.gradle.parallel = true - -# https://fabricmc.net/develop -minecraft_version = 1.20 -yarn_mappings = 1.20+build.1 -loader_version = 0.15.3 - -mod_version = 1.0.1 -maven_group = net.krlite -archives_base_name = itfollows - -# Dependencies -fabric_version = 0.83.0+1.20 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 4f07d1a..82927d6 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -24,9 +24,9 @@ ] }, "mixins": [ - "it_follows.mixins.json" + "itfollows.mixins.json" ], - "accessWidener": "it_follows.accesswidener", + "accessWidener": "itfollows.accesswidener", "depends": { "fabricloader": "*", diff --git a/src/main/resources/it_follows.accesswidener b/src/main/resources/itfollows.accesswidener similarity index 100% rename from src/main/resources/it_follows.accesswidener rename to src/main/resources/itfollows.accesswidener diff --git a/src/main/resources/it_follows.mixins.json b/src/main/resources/itfollows.mixins.json similarity index 100% rename from src/main/resources/it_follows.mixins.json rename to src/main/resources/itfollows.mixins.json