【发布时间】:2017-07-27 16:20:40
【问题描述】:
def mergedCompileClasspath == null
project.sourceSets.each {
if (mergedCompileClasspath == null)
mergedCompileClasspath = it.compileClasspath
else
mergedCompileClasspath .plus(it.compileClasspath)
}
plus() 方法不起作用。 compileClassPath 是不可变的?如何创建一个空的fileCollection?
【问题讨论】:
标签: file gradle collections classpath