Autoincrement VersionCode with gradle extra properties

前端 未结 16 2242
逝去的感伤
逝去的感伤 2020-11-27 08:47

I\'m building an Android app with gradle. Until now I used the Manifest file to increase the versionCode, but I would like to read the versionCode from an external file and

16条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-27 09:32

    Recently I was working on a gradle plugin for Android that makes generating versionCode and versionName automatically. there are lots of customization. here you can find more info about it https://github.com/moallemi/gradle-advanced-build-version

提交回复
热议问题