How to increase build number using Gradle and / or IntelliJ automatically?

How to increase build number using Gradle and / or IntelliJ?

The question is not related to Android, it is a regular Java application.

The increment should occur either at each assembly, or when performing a special task.

I have the following line in my build.gradle

version = '0.1.3-SNAPSHOT'

Apparently this does not contain part of the assembly?

+4
source share

Source: https://habr.com/ru/post/1648789/


All Articles