File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ dependencies {
6666
6767 // Common (Do not touch)
6868 common(project(" :common" , configuration = " namedElements" )) { isTransitive = false }
69- shadowBundle(project(" :common" , configuration = " transformProductionFabric" ))
69+ shadowBundle(project(" :common" , configuration = " transformProductionFabric" )) { isTransitive = false }
7070
7171 // Finish the configuration
7272 setupConfigurations()
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ dependencies {
9595
9696 // Common (Do not touch)
9797 common(project(" :common" , configuration = " namedElements" )) { isTransitive = false }
98- shadowBundle(project(path = " :common" , configuration = " transformProductionForge" ))
98+ shadowBundle(project(path = " :common" , configuration = " transformProductionForge" )) { isTransitive = false }
9999
100100 // Finish the configuration
101101 setupConfigurations()
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ plugins {
1111
1212architectury {
1313 platformSetupLoomIde()
14- neoForge()
14+ neoForge {
15+ platformPackage = " forge"
16+ }
1517}
1618
1719loom {
@@ -67,27 +69,21 @@ dependencies {
6769
6870 // Common (Do not touch)
6971 common(project(" :common" , configuration = " namedElements" )) { isTransitive = false }
70- shadowBundle(project(path = " :common" , configuration = " transformProductionNeoForge" ))
72+ shadowBundle(project(path = " :common" , configuration = " transformProductionNeoForge" )) { isTransitive = false }
7173
7274 // Finish the configuration
7375 setupConfigurations()
7476}
7577
7678tasks {
77- processResources {
78- from(project(" :common" ).file(" src/main/resources/lambda.accesswidener" )) {
79- into(" /assets/" ) // Copy the access wideners because the API was not included for NeoForge
80- }
81- }
82-
8379 shadowJar {
8480 archiveVersion = " $modVersion +$minecraftVersion "
8581 configurations = listOf (shadowBundle)
8682 archiveClassifier = " dev-shadow"
8783 }
8884
8985 remapJar {
90- dependsOn(processResources, shadowJar)
86+ dependsOn(shadowJar)
9187
9288 archiveVersion = " $modVersion +$minecraftVersion "
9389 inputFile = shadowJar.get().archiveFile
You can’t perform that action at this time.
0 commit comments