I have a project that takes input from different endpoints, I would like to just collect those end point at the root and let them generate the projects. I.e., if the url is .wsdl generate the appropriate ant task; writes a project the standard java -> jar build.gradle; and adds that as a dependency to the main project (I am fine with at compile dependency of file(endpoints/**/.jar). if the url is *.swagger.json, it creates an open api gen task; and adds that as a dependency. I am actually fine that the main artifact is a sub project itself.
Is something like this possible?