Fix build and JiJ Flywheel

- JiJ Flywheel since Forge 1.19 fixed mixin JiJ
- Add JEI common API as compile time dependency
This commit is contained in:
PepperCode1 2022-08-18 09:27:06 -07:00
parent f7280b799c
commit 62f7364b06
2 changed files with 6 additions and 6 deletions

View File

@ -143,10 +143,9 @@ dependencies {
jarJar(group: 'com.tterrag.registrate', name: 'Registrate', version: '[MC1.19-1.1.5,)') { jarJar(group: 'com.tterrag.registrate', name: 'Registrate', version: '[MC1.19-1.1.5,)') {
jarJar.pin(it, project.registrate_version) jarJar.pin(it, project.registrate_version)
} }
// Uncomment once Forge fixes mixins for included jars jarJar(group: 'com.jozufozu.flywheel', name: "flywheel-forge-${flywheel_minecraft_version}", version: '[0.6.5,0.6.6)') {
//jarJar(group: 'com.jozufozu.flywheel', name: "flywheel-forge-${flywheel_minecraft_version}", version: '[0.6.4,0.6.5)') { jarJar.pin(it, project.flywheel_version)
// jarJar.pin(it, project.flywheel_version) }
//}
implementation fg.deobf("com.tterrag.registrate:Registrate:${registrate_version}") implementation fg.deobf("com.tterrag.registrate:Registrate:${registrate_version}")
@ -156,6 +155,7 @@ dependencies {
implementation fg.deobf("com.jozufozu.flywheel:flywheel-forge-${flywheel_minecraft_version}:${flywheel_version}") implementation fg.deobf("com.jozufozu.flywheel:flywheel-forge-${flywheel_minecraft_version}:${flywheel_version}")
} }
compileOnly fg.deobf("mezz.jei:jei-${jei_minecraft_version}-common-api:${jei_version}")
compileOnly fg.deobf("mezz.jei:jei-${jei_minecraft_version}-forge-api:${jei_version}") compileOnly fg.deobf("mezz.jei:jei-${jei_minecraft_version}-forge-api:${jei_version}")
runtimeOnly fg.deobf("mezz.jei:jei-${jei_minecraft_version}-forge:${jei_version}") runtimeOnly fg.deobf("mezz.jei:jei-${jei_minecraft_version}-forge:${jei_version}")

View File

@ -8,7 +8,7 @@ mod_version = 0.5.0.d
artifact_minecraft_version = 1.19.2 artifact_minecraft_version = 1.19.2
minecraft_version = 1.19.2 minecraft_version = 1.19.2
forge_version = 43.0.8 forge_version = 43.1.0
# build dependency versions # build dependency versions
forgegradle_version = 5.1.53 forgegradle_version = 5.1.53
@ -23,7 +23,7 @@ registrate_version = MC1.19-1.1.5
flywheel_minecraft_version = 1.19.2 flywheel_minecraft_version = 1.19.2
flywheel_version = 0.6.5-3 flywheel_version = 0.6.5-3
jei_minecraft_version = 1.19.2 jei_minecraft_version = 1.19.2
jei_version = 11.2.0.246 jei_version = 11.2.0.254
curios_minecraft_version = 1.19.2 curios_minecraft_version = 1.19.2
curios_version = 5.1.1.0 curios_version = 5.1.1.0