Skip to content

Commit

Permalink
build: add new project properties for release
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Jan 24, 2025
1 parent aa22f50 commit d79e40d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -594,4 +594,13 @@ release {
git {
requireBranch.set('develop')
}

// Dynamically set properties with default values
failOnSnapshotDependencies = (project.hasProperty('release.failOnSnapshotDependencies')
? project.property('release.failOnSnapshotDependencies').toBoolean()
: true)

pushReleaseVersionBranch = (project.hasProperty('release.pushReleaseVersionBranch')
? project.property('release.pushReleaseVersionBranch').toString()
: null)
}

0 comments on commit d79e40d

Please sign in to comment.