我有一个gradle项目。 我想用它自己的main运行一些生成器,它应该在项目中并且具有它自己的依赖项。 e.g。
project root
|
|-src/main/java
|-src/main/kotlin <----here's my project's main class
我想:
project root
|
|-src/main/java
|-src/main/kotlin <----here's my project's main
|-mylibs/generators/foogenerator <- has it's own main, want to run it from gradle with it's own dependencies