User Tools

Site Tools


tutorial:datagen_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:datagen_setup [2022/08/13 21:24] – The task name was wrong earthcomputertutorial:datagen_setup [2022/11/05 11:54] – replace strict validation with modid filter jab125
Line 14: Line 14:
             vmArg "-Dfabric-api.datagen"             vmArg "-Dfabric-api.datagen"
             vmArg "-Dfabric-api.datagen.output-dir=${file("src/main/generated")}"             vmArg "-Dfabric-api.datagen.output-dir=${file("src/main/generated")}"
-            vmArg "-Dfabric-api.datagen.strict-validation"+            vmArg "-Dfabric-api.datagen.modid=${modid}"
  
-            ideConfigGenerated = true 
             runDir "build/datagen"             runDir "build/datagen"
         }         }
     }     }
 } }
- 
-// We should run datagen whenever we build. 
-processResources.dependsOn runDatagenClient 
  
 // Add the datagenned files into the jar. // Add the datagenned files into the jar.
tutorial/datagen_setup.txt · Last modified: 2024/03/15 05:06 by shnupbups