Skip to content

Commit

Permalink
chore(build): add project property for release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Jan 24, 2025
1 parent e2f0b58 commit 9fbb1ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,14 @@ release {
git {
requireBranch.set('master')
}

// 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)
}

/**********************************************************************************************************************\
Expand Down

0 comments on commit 9fbb1ef

Please sign in to comment.