Gradle:运行某个类的任务

时间:2017-06-14 15:38:00

标签: java gradle

我有一个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

0 个答案:

没有答案