Skip to content

Commit

Permalink
build: Fix Architectury's common config having the wrong mod ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveplays28 committed Jul 16, 2024
1 parent 1d037ae commit 3130ead
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/main/resources/architectury.common.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"accessWidener": "noisium.accesswidener"
"accessWidener": "${mod_id}.accesswidener"
}
4 changes: 4 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ processResources {
include("assets", "data", "resourcepacks")
}

filesMatching("architectury.common.json") {
expand "mod_id": rootProject.mod_id
}

filesMatching("fabric.mod.json") {
expand "version": project.version,
"mod_id": rootProject.mod_id,
Expand Down
4 changes: 4 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ processResources {
include("assets", "data", "resourcepacks")
}

filesMatching("architectury.common.json") {
expand "mod_id": rootProject.mod_id
}

filesMatching("META-INF/mods.toml") {
expand "version": project.version,
"mod_id": rootProject.mod_id,
Expand Down

0 comments on commit 3130ead

Please sign in to comment.