5 years ago (2016-08-12)  Software development Technical application |   First to comment  14 
post score 0 times, average 0.0
Because Android studio and Android related SDKs and build tools have extremely fast update speeds.Modifications to relevant versions are sometimes more sensitive, especially in team projects where individuals modify the version of the relevant tool locally and accidentally submit it to a remote code repository. Others often have problems updating.The version field in the Android studio project file is very scattered. When the SDK environment changes, it is still more troublesome to modify.This article uses configuration files to centrally control build tool versions.

The gradle.properties file defines version information and assigns values ​​in the project root directory


Gradle using configuration files to control the version of build tools

Reference gradle variable where version information is used





This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/gradle-using-configuration-files-build-tools-version-under-centralized-control-2.html

Post comment


No Comment


Forget password?