diff --git a/build.gradle b/build.gradle index 5bcdbd291..c8cfc4409 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '1.12-SNAPSHOT' + id 'fabric-loom' version '1.13.4' id 'maven-publish' } @@ -14,10 +14,20 @@ loom { accessWidenerPath = file("src/main/resources/vulkanmod.accesswidener") } +repositories { + maven { + name = 'ParchmentMC' + url = 'https://maven.parchmentmc.org' + } +} + dependencies { // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" - mappings loom.officialMojangMappings() + mappings loom.layered { + officialMojangMappings() + parchment("org.parchmentmc.data:parchment-${project.minecraft_version}:${project.parchment_version}@zip") + } modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" // Fabric API. diff --git a/gradle.properties b/gradle.properties index ba55088d9..374890e6d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,9 +7,11 @@ org.gradle.parallel=true minecraft_version = 1.21.10 yarn_mappings = 1.21.10+build.2 loader_version = 0.17.3 +# Mapping enhancements +parchment_version = 2025.10.12 # Fabric API -fabric_version = 0.138.0+1.21.10 +fabric_version = 0.138.3+1.21.10 # Mod Properties mod_version = 0.5.7-dev diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d4081da47..23449a2b5 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.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME