Skip to content

Commit

Permalink
fix fabric access widener not being remapped
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Jan 19, 2024
1 parent f348762 commit 76455db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ architectury {
base.archivesName.set("${base.archivesName.get()}-fabric")

loom {
accessWidenerPath.set(project(":common").file("src/main/resources/worldtools.accesswidener"))
accessWidenerPath.set(project(":common").loom.accessWidenerPath)
enableTransitiveAccessWideners.set(true)
}

val common: Configuration by configurations.creating {
Expand All @@ -33,4 +34,8 @@ tasks {
expand(mutableMapOf("version" to project.version))
}
}

remapJar {
injectAccessWidener.set(true)
}
}

0 comments on commit 76455db

Please sign in to comment.