File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ loom.accessWidenerPath.set(file("src/main/resources/generationscore.accesswidene
77
88val minecraftVersion = project.properties[" minecraft_version" ] as String
99
10- sourceSets.main.get().resources.srcDir(" src/main/generated/resources" )
11-
1210dependencies {
1311 // We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
1412 // Do NOT use other classes from fabric loader
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ architectury {
99
1010val minecraftVersion = project.properties[" minecraft_version" ] as String
1111
12+ sourceSets.main.get().resources.srcDirs(mutableListOf (
13+ project(" :common" ).file(" src/main/generated/resources" ).absolutePath,
14+ project(" :fabric" ).file(" src/main/generated/resources" ).absolutePath)
15+ )
16+
1217configurations {
1318 create(" common" )
1419 create(" shadowCommon" )
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ architectury {
99
1010val minecraftVersion = project.properties[" minecraft_version" ] as String
1111
12+ sourceSets.main.get().resources.srcDir(project(" :common" ).file(" src/main/generated/resources" ).absolutePath)
13+
1214configurations {
1315 create(" common" )
1416 create(" shadowCommon" )
You can’t perform that action at this time.
0 commit comments