Skip to content

Commit

Permalink
fix: AW->AT fix for neoforge
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Dec 15, 2023
1 parent ba1ee05 commit abb9c2a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ architectury {

loom {
accessWidenerPath = project(":common").loom.accessWidenerPath

// neoForge {
// convertAccessWideners = true
// extraAccessWideners.add loom.accessWidenerPath.get().asFile.name
//
// //mixinConfig "ftbfiltersystem-common.mixins.json"
// //mixinConfig "ftbfiltersystem.mixins.json"
// }
}

configurations {
Expand All @@ -41,7 +33,7 @@ dependencies {
modCompileOnly("mezz.jei:jei-1.20.2-forge-api:${rootProject.jei_version}")

common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false }
shadowCommon(project(path: ":common", configuration: "transformProductionNeoForge")) { transitive = false }
}

apply from: "https://raw.githubusercontent.com/FTBTeam/mods-meta/main/gradle/extra-local-mods.gradle"
Expand All @@ -67,6 +59,7 @@ remapJar {
dependsOn shadowJar
setArchiveClassifier(null)
setArchiveBaseName("${rootProject.archivesBaseName}-${project.name}")
atAccessWideners.add('ftbfiltersystem.accesswidener')
}

sourcesJar {
Expand Down

0 comments on commit abb9c2a

Please sign in to comment.