标签:cts ica dir any The aci 目的 clu with
在gradle中,如果多个子项目使用目录进行分组,可以使用如下方法
// include two projects, ‘foo‘ and ‘foo:bar‘
// directories are inferred by replacing ‘:‘ with ‘/‘
include ‘foo:bar‘
// include one project whose project dir does not match the logical project path
include ‘baz‘
project(‘:baz‘).projectDir = file(‘foo/baz‘)
// include many projects whose project dirs do not match the logical project paths
file(‘subprojects‘).eachDir { dir ->
include dir.name
project(":${dir.name}").projectDir = dir
}
标签:cts ica dir any The aci 目的 clu with
原文地址:https://www.cnblogs.com/warrior/p/13356664.html