使用Gradle

时间:2015-05-05 06:57:17

标签: gradle

我有一个依赖项,其JAR包含以下文件:

~ git:master ❯❯❯ jar tf `find ~/.gradle/caches -name "myorg-*.jar"`
thrift-include-dir/
thrift-include-dir/shared/
thrift-include-dir/shared/types/
thrift-include-dir/shared/types/criteria.thrift
thrift-include-dir/shared/types/stagefetchtype.thrift

我希望在某个任务(generateThriftSources)运行时这些文件出现在目录中,因为我需要能够在父项目中执行此操作:

include "shared/types/stagefetchtype.thrift"

我可以将目录从类路径复制到特定的构建目录子文件夹,例如build/thrift-include-dir吗?

0 个答案:

没有答案