How to increment build number with Gradle and/or IntelliJ automatically?
Asked Answered
S

1

6

How to increment build number with Gradle and/or IntelliJ?

The question is not related with Android, it is normal Java App.

Increment should occur either on each build or on special task run.

I have following line in my build.gradle

version = '0.1.3-SNAPSHOT'

apparently, this doesn't contain build part?

Supernatural answered 22/7, 2016 at 13:22 Comment(0)
M
0

You can use gradle release plugin, and you can auto increment releases.

https://github.com/researchgate/gradle-release

Mastectomy answered 26/11, 2019 at 11:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.