Skip to content

Commit

Permalink
Fix forge mixin config missing from build.gradle (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
florensie authored Aug 7, 2022
1 parent 98d5e28 commit 0b81dcf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
22 changes: 11 additions & 11 deletions generator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_8",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.17.1-forge": {
Expand Down Expand Up @@ -177,7 +177,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_16",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.1-forge": {
Expand Down Expand Up @@ -251,7 +251,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.2-forge": {
Expand Down Expand Up @@ -327,7 +327,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.2-forge-quilt": {
Expand Down Expand Up @@ -367,7 +367,7 @@
"tokens": {
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.2-forge-fabric-quilt": {
Expand Down Expand Up @@ -406,7 +406,7 @@
"tokens": {
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.2-forge-fabric-like": {
Expand Down Expand Up @@ -450,7 +450,7 @@
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.19-forge": {
Expand Down Expand Up @@ -526,7 +526,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.19-forge-quilt": {
Expand Down Expand Up @@ -566,7 +566,7 @@
"tokens": {
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.19-forge-fabric-quilt": {
Expand Down Expand Up @@ -605,7 +605,7 @@
"tokens": {
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.19-forge-fabric-like": {
Expand Down Expand Up @@ -649,7 +649,7 @@
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion templates/architectury/forge/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "com.github.johnrengelman.shadow" version "7.1.2"
}
@__LOOM_FORGE_EXT@

architectury {
platformSetupLoomIde()
forge()
Expand All @@ -13,6 +13,8 @@ loom {
forge {
convertAccessWideners = true
extraAccessWideners.add loom.accessWidenerPath.get().asFile.name

@__LOOM_FORGE_EXT@
}
}

Expand Down

0 comments on commit 0b81dcf

Please sign in to comment.