ref:
http://alexfu.github.io/android/2017/11/07/experimenting-with-gradle-dependencies.html
搜尋此網誌
2017年12月4日 星期一
2016年6月12日 星期日
【Android】Autoincrement VersionCode with gradle extra properties
ref:
http://stackoverflow.com/a/21405744
https://github.com/commonsguy/cw-omnibus/tree/master/Gradle/HelloVersioning
http://stackoverflow.com/a/21405744
https://github.com/commonsguy/cw-omnibus/tree/master/Gradle/HelloVersioning
down voteaccepted
|
I am sure that there are any number of possible solutions; here is one:
This code expects an existing
version.properties file, which you would create by hand before the first build to have VERSION_CODE=8. |
訂閱:
文章 (Atom)