Skip to content

Commit

Permalink
build: update to MC 1.21.1, Neo 21.1.9
Browse files Browse the repository at this point in the history
Note: MC 1.21.1 required, won't run with MC 1.21
  • Loading branch information
desht committed Aug 14, 2024
1 parent ce0be71 commit 2eb6c70
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ dependencies {
exclude group: "dev.architectury"
}

modCompileOnly("mezz.jei:jei-${minecraft_version}-common-api:${jei_version}")
modCompileOnly("mezz.jei:jei-1.21-common-api:${jei_version}")

modCompileOnly "dev.emi:emi-xplat-intermediary:${emi_version}+${minecraft_version}:api"
modCompileOnly "dev.emi:emi-xplat-intermediary:${emi_version}+1.21:api"
}

test {
Expand Down
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {

modApi "dev.architectury:architectury-fabric:${rootProject.architectury_version}"

modCompileOnlyApi("mezz.jei:jei-${minecraft_version}-fabric-api:${jei_version}")
modCompileOnlyApi("mezz.jei:jei-1.21-fabric-api:${jei_version}")

common(project(path: ":common", configuration: "dev")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ archives_base_name=ftb-library
maven_group=dev.ftb.mods

# MC
minecraft_version=1.21
minecraft_version=1.21.1

# Deps
forge_version=49.0.31
neoforge_version=21.0.163
neoforge_version_range=[21.0.143,)
neoforge_version=21.1.9
neoforge_version_range=[21.1.0,)
neoforge_loader_version=4
fabric_loader_version=0.15.11
fabric_api_version=0.101.2+1.21
Expand Down
2 changes: 1 addition & 1 deletion neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
modApi "dev.architectury:architectury-neoforge:${rootProject.architectury_version}"

modCompileOnly "me.shedaniel:RoughlyEnoughItems-neoforge:${rootProject.rei_version}"
modCompileOnly("mezz.jei:jei-${minecraft_version}-neoforge-api:${jei_version}")
modCompileOnly("mezz.jei:jei-1.21-neoforge-api:${jei_version}")

common(project(path: ":common", configuration: "dev")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionNeoForge")) { transitive false }
Expand Down

0 comments on commit 2eb6c70

Please sign in to comment.