android gradle.properties
2024-10-09 09:30:10
gradle.properties 里面配置的东西,在gradle 文件里面可以直接引用。
例如:
在你工程根目录的gradle.properties 文件里面
可以这样配置:
## Project-wide Gradle settings.
#
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Thu Oct 26 18:42:58 CST 2017
systemProp.http.proxyHost=59.151.100.45
systemProp.http.nonProxyHosts=192.168.*
systemProp.http.proxyPort=33130
r2d2Dir=D:\\soft\\r2d22
r2d2Cmd=python
ANDROID_BUILD_SDK_VERSION=27
那么在你的build.gradle 里面,你就可以:
android {
buildToolsVersion ANDROID_BUILD_SDK_VERSION
参看:http://www.cnblogs.com/if-else-if/p/5972530.html
https://docs.gradle.org/current/userguide/build_environment.html
最新文章
- python基础之day1
- 修改Credentials 密码
- 【Java EE 学习 25 下】【网上图书商城js小技术点总结】
- Java基础-String 存储机制管理
- 可复用的js效果
- vim之grep
- sql server 清除日志
- 阐明iOS证书和provision文件
- Stammering Aliens
- 使用JS开发桌面端应用程序NW.js-3-开发问题小记
- 如何让浏览器支持ES6语法,步骤详细到小学生都能看懂!
- Python爬虫入门教程 23-100 石家庄链家租房数据抓取
- Java使用J4L识别验证码
- oracle 修改用户密码
- 转发:已知rsa的模数和指数 生成pem公钥文件
- Effective Java 第三版——68. 遵守普遍接受的命名约定
- Go语言学习之10 Web开发与Mysql数据库
- (转)C# Stopwatch详解
- 膨胀卷积与IDCNN
- [转]Spring MVC之@RequestMapping 详解
热门文章
- Visual Studio 各个版本汇总
- 【转载】#324 - A Generic Class Can Have More than One Type Parameter
- vue中的js动画与Velocity.js结合
- linux .h .so .a文件
- Node.js 的初体验
- Deep Learning Libraries by Language
- linux awk 内置函数详细介绍(实例)
- js判断移动端还是PC端
- idea和eclipse中getAbsolutePath()方法获取值不同
- 洛谷P1829 [国家集训队]Crash的数字表格 / JZPTAB(莫比乌斯反演)