Gradle Local Project Dependency
我有2个Gradle项目,都在同一个目录中。目录结构如下:
ParentDirectory\
GradleProjectA\
build.gradle
GradleProjectB\
settings.gradle
build.gradle
我想添加为依赖项。在 for 中,我尝试添加,然后在 :中,但这不起作用。GradleProjectA
GradleProjectB
settings.gradle
GradleProjectB
include 'GradleProjectA'
build.gradle
compile project(':GradleProjectA')
任何帮助将不胜感激。谢谢。