Hi,
for a custom plugin, I need to run a class that needs to be created first, apart from the project’s own source and class files. So a class that is provided by the customplugin needs to be run, i.e. by being the main param of a JavaExec Task. However I have no idea how to best structure that process. I see the possibility to define 3 tasks in my plugin, one for generating the file into the buildDir, then one task to compile it, and one to run it. But that seems rather clumsy and complex. Or possibly I could try putting the custom plugin itself on the classpath of JavaExec.
Any tip on what approach seems best to you?
regards,
Thibault