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 4aced76 commit bf84024
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 @@ -204,6 +204,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 bf84024

Please sign in to comment.