I would like to use gradle to extract some coefficients from sound files. I have thousands of these sounds and I have a json configuration script which provide the configuration for each kind of coefficients I want to extract.
Therefore, I want to parallelize that as much as I can. As, if I understand correctly, task could not be executed in parallel except by using subproject, I planned to define one subproject per sound file.
My questions are :
- is it possible to generate and include dynamically the subprojects based on the json configuration file given in arguments ? In other words, can I use the argument in the settings.gradle or can I add dynamically a subproject using the build.gradle?
2, If yes, how can I do it ?
Thanks a lot, Sébastien