Skip to content

Commit

Permalink
Update to 1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Aug 10, 2024
1 parent e9fea05 commit d4206e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
13 changes: 2 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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<String, DownloadBuilder> { Download.create(it) }
) as MinecraftMetadataProvider

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d4206e6

Please sign in to comment.