Skip to content

Commit

Permalink
Enabled checkConstraints and checkBuildEnvironmentConstraints for the…
Browse files Browse the repository at this point in the history
… Gradle Versions Plugin.
  • Loading branch information
ianbrandt committed Feb 10, 2023
1 parent a9ae441 commit f5b4360
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ allprojects {

tasks {

withType<DependencyUpdatesTask>().configureEach {
named<DependencyUpdatesTask>("dependencyUpdates").configure {
checkConstraints = true
checkBuildEnvironmentConstraints = true
rejectVersionIf {
isNonStable(candidate.version)
}
Expand Down

0 comments on commit f5b4360

Please sign in to comment.