Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
475 views
in Technique[技术] by (71.8m points)

android - Increasing version and build number automatically in kotlin projects

I want to automatically increase the version and build number in my kotlin projects. For my iOS applications, fastlane solves my problem with the plugin it offers. but I don't know how to do this in my android projects. maybe there is a gradle plugin? can you help me

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I like ReactiveCircus/app-versioning. It reads Git tags to set Android's versionCode and versionName. The default behavior works great and you may create custom rules if needed.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...