Sandeep
Sandeep

Reputation: 15

How to add release.useAutomaticVersion=true in build.gradle file for auto versioning?

I'm running gradle-release command as follows but I need to movr release.useAutomaticVersion=true inside build.gradle.

./gradlew gitOperations release -Prelease.useAutomaticVersion=true

Upvotes: 0

Views: 2257

Answers (1)

Hillkorn
Hillkorn

Reputation: 786

Adding

release.useAutomaticVersion=true

to my gradle.properties inside the project dir why I apply the release plugin works perfectly. You really added this to the gradle.properties and not the build.gradle ?

Upvotes: 1

Related Questions