File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,19 @@ minecraft {
120120 // Recommended logging level for the console
121121 property ' forge.logging.console.level' , ' debug'
122122
123+ property ' mixin.env.remapRefMap' , ' true'
124+ property ' mixin.env.refMapRemappingFile' , " ${ buildDir} /createSrgToMcp/output.srg"
125+
126+ // Only runs gametests which use "examplemod" as the namespace
127+ args ' --enableNamespace' , mod_id
128+
129+ environment " CC_TEST_RESOURCES" , sourceSets. test. resources. srcDirs[0 ]
130+
123131 mods {
124132 compactcrafting {
125133 source sourceSets. main
126134 source sourceSets. api
135+ source sourceSets. test
127136 }
128137 }
129138 }
@@ -142,6 +151,7 @@ minecraft {
142151 args ' --output' , file(' src/generated/resources/' )
143152 args " --existing" , file(" src/main/resources" )
144153
154+
145155 mods {
146156 compactcrafting {
147157 source sourceSets. main
You can’t perform that action at this time.
0 commit comments