File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
src/main/resources/META-INF Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ base.archivesName.set("${base.archivesName.get()}-neoforge")
1111
1212loom {
1313 accessWidenerPath.set(project(" :common" ).loom.accessWidenerPath)
14+ neoForge {
15+ enableTransitiveAccessWideners = true
16+ }
1417}
1518
1619repositories {
@@ -36,6 +39,7 @@ fun DependencyHandlerScope.setupConfigurations() {
3639
3740 includeMod.dependencies.forEach {
3841 implementation(it)
42+ forgeRuntimeLibrary(it)
3943 include(it)
4044 }
4145}
@@ -75,5 +79,12 @@ tasks {
7579
7680 remapJar {
7781 atAccessWideners.add(" lambda.accesswidener" )
82+ injectAccessWidener.set(true )
83+ }
84+
85+ sourceSets.forEach {
86+ val dir = layout.buildDirectory.dir(" sourcesSets/${it.name} " )
87+ it.output.setResourcesDir(dir)
88+ it.java.destinationDirectory.set(dir)
7889 }
7990}
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ issueTrackerURL = "https://github.com/lambda-client/lambda/issues"
1313 logoFile = " assets/lambda/lambda.png"
1414 displayTest = " IGNORE_ALL_VERSION"
1515
16+ [[mixins ]]
17+ config = " lambda.mixins.common.json"
18+
1619[[dependencies .lambda ]]
1720 modId = " neoforge"
1821 mandatory = true
@@ -36,7 +39,3 @@ issueTrackerURL = "https://github.com/lambda-client/lambda/issues"
3639 versionRange = " [4.10,)"
3740 ordering = " NONE"
3841 side = " CLIENT"
39-
40- [[mixins ]]
41- config = " lambda.mixins.common.json"
42- environment = " client"
You can’t perform that action at this time.
0 commit comments