Hello,
I've set up datagen with its own source set in one of my projects but there are two things I'm unsure about:
- is
runDatagensupposed to be run manually, andsrc/main/generatedtracked? - is there a way to generate
pack.mcmetafiles for builtin resource packs?
I'm confused about 1. because gradlew clean removes src/main/generated, but I can't seem to get the data to re-generate when I build or do runClient. Is clean supposed to do that?
Here is my current build.gradle:
https://gitlab.com/supersaiyansubtlety-group/minecraft-mods/sturdy_carts/-/blob/0e15bc206c3a11c4c5cc6a4d01a231c7b153a825/build.gradle#L27