Topwo博客
首页
博客
项目
您现在的位置是:
Topwo博客
>>
Android
文章
Gradle中常用的路径环境变量
发布时间:2021-11-18
作者:Topwo
来源:原创
点击:325
## rootDir > The root directory of this project. The root directory is the project directory of the root project. ## projectDir > The directory containing the project build file. ## buildDir > The build directory of this project. The build directory is the directory which all artifacts are generated into. The default value for the build directory is projectDir/build 对于Gradle而言,每个project下,都一定会有一个build.gradle,以下是在每个build.gradle中打印的值。 ``` +rootProject // rootDir:rootProject;projectDir:rootProject;buildDir:rootProject/build --+subProject // rootDir:rootProject;projectDir:subProject;buildDir:subProject/build ----+subsubProject // rootDir:rootProject;projectDir:subsubProject;buildDir:subsubProject/build ```
上一篇:
Gradle计算文件md5和Sha1
下一篇:
yum无法使用