gradle中用的一些路径环境变量
2016-07-22 16:12
309 查看
配置gradle有时会用一些路径相关的环境变量,常用的几个定义如下:
其实也比较好理解了,再举个列子:
新建一个工程名为InspectGradleDir,路径为
D:\study\android\projects\InspectGradleDir
那么rootDir对应
D:\study\android\projects\InspectGradleDir
projectDir对应
D:\study\android\projects\InspectGradleDir\app
buildDir对应
D:\study\android\projects\InspectGradleDir\app\build
projectDir
The directory containing the project build file.rootDir
The root directory of this project. The root directory is the project directory of the root project.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其实也比较好理解了,再举个列子:
新建一个工程名为InspectGradleDir,路径为
D:\study\android\projects\InspectGradleDir
那么rootDir对应
D:\study\android\projects\InspectGradleDir
projectDir对应
D:\study\android\projects\InspectGradleDir\app
buildDir对应
D:\study\android\projects\InspectGradleDir\app\build
相关文章推荐
- 磁盘类型由动态转换成基本
- ThreadLocal原理解析(1):数据存取
- Visual Studio 2013 中数据断点的使用
- 旋转90°动画
- 点击事件
- 【算法和数据结构】平衡查找树之B树
- 【HDU】1205 - 吃糖果(抽屉原理)
- 读取properties文件
- 应该掌握的html5
- C语言回调(函数指针)
- 《SQL入门经典》学习笔记
- Doing Homework again
- Eclipse安装Maven插件
- HDU 5573 Binary Tree (二进制,位运算)
- 【NYOJ】[47]过河问题
- 23种设计模式之工厂模式(Factory)
- NoHttp如何使用Https
- ORA-12571 : TNS 包写入程序失败 的各种可能和解决方案
- jenkins+gitlab+maven+tomcat档
- sublime text ftp插件使用