From d4206e629db3555478d3481c61b8f43f100649e8 Mon Sep 17 00:00:00 2001 From: Su5eD Date: Sat, 10 Aug 2024 23:12:38 +0200 Subject: [PATCH] Update to 1.21.1 --- build.gradle.kts | 13 ++----------- gradle.properties | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 97d3fd8..084dbd4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,7 +2,6 @@ import net.fabricmc.loom.api.mappings.layered.MappingsNamespace import net.fabricmc.loom.configuration.providers.mappings.mojmap.MojangMappingLayer import net.fabricmc.loom.configuration.providers.mappings.mojmap.MojangMappingsSpec import net.fabricmc.loom.configuration.providers.minecraft.MinecraftMetadataProvider -import net.fabricmc.loom.util.Constants import net.fabricmc.loom.util.download.Download import net.fabricmc.loom.util.download.DownloadBuilder import net.fabricmc.loom.util.srg.Tsrg2Writer @@ -22,7 +21,7 @@ plugins { id("org.cadixdev.licenser") version "0.6.1" id("net.neoforged.gradleutils").version("3.0.0-alpha.10") // Used for mapping tools only, provides TSRG writer on top of mappings-io - id("dev.architectury.loom") version "1.6-SNAPSHOT" + id("dev.architectury.loom") version "1.7-SNAPSHOT" } val versionMc: String by rootProject @@ -106,15 +105,7 @@ val downloadMojmaps by tasks.registering { val cache = project.layout.buildDirectory.dir("tmp/$name").get() val provider = MinecraftMetadataProvider::class.java.declaredConstructors[0].apply { isAccessible = true }.newInstance( - MinecraftMetadataProvider.Options( - versionMc, - Constants.VERSION_MANIFESTS, - Constants.EXPERIMENTAL_VERSIONS, - null, - cache.file("version_manifest.json").asFile.toPath(), - cache.file("experimental_version_manifest.json").asFile.toPath(), - cache.file("minecraft-info.json").asFile.toPath() - ), + MinecraftMetadataProvider.Options.create(versionMc, project), Function { Download.create(it) } ) as MinecraftMetadataProvider diff --git a/gradle.properties b/gradle.properties index 55676e3..29d6509 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xmx3G loom.platform=neoforge -versionMc=1.21 -versionForge=21.0.55-beta +versionMc=1.21.1 +versionForge=21.1.4 versionLoaderUpstream=0.16.0 -versionYarn=1.21-rc1+build.1 +versionYarn=1.21.1+build.3 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 06056ca..5bb6cec 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Wed Jun 14 17:05:22 CEST 2023 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists