Skip to content

Commit

Permalink
Update to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Jun 14, 2024
1 parent 6890cb4 commit b0c74b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
15 changes: 5 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ plugins {
id("com.github.johnrengelman.shadow") version "8.1.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" apply false
id("dev.architectury.loom") version "1.6-SNAPSHOT"
}

val versionMc: String by rootProject
Expand All @@ -36,6 +36,7 @@ gradleutils.version {
branches {
suffixBranch()
suffixExemptedBranch(versionMc)
suffixExemptedBranch("$versionMc.x")
}
}
version = "${gradleutils.version}+$versionLoaderUpstream+$versionMc"
Expand Down Expand Up @@ -81,18 +82,12 @@ repositories {
name = "NeoForged"
url = uri("https://maven.neoforged.net/releases")
}
maven {
name = "Maven for PR #1076" // https://github.com/neoforged/NeoForge/pull/1076
url = uri("https://prmaven.neoforged.net/NeoForge/pr1076")
content {
includeModule("net.neoforged", "testframework")
includeModule("net.neoforged", "neoforge")
}
}
}

dependencies {
implementation(group = "net.neoforged", name = "neoforge", version = versionForge)
minecraft(group = "com.mojang", name = "minecraft", version = versionMc)
mappings(loom.officialMojangMappings())
neoForge(group = "net.neoforged", name = "neoforge", version = versionForge)
yarnMappings(group = "net.fabricmc", name = "yarn", version = versionYarn)

shade("net.minecraftforge:srgutils:0.5.4")
Expand Down
8 changes: 5 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G

versionMc=1.21-pre4
versionForge=21.0.0-alpha.1.21-pre4.20240609.093716
loom.platform=neoforge

versionMc=1.21
versionForge=21.0.4-beta
versionLoaderUpstream=0.15.10
versionYarn=1.21-pre4+build.3
versionYarn=1.21-rc1+build.1

0 comments on commit b0c74b4

Please sign in to comment.