Skip to content

Commit

Permalink
simplify dependencyUpdates task configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
JKatzwinkel authored Dec 12, 2023
1 parent 968891f commit 5c51186
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,8 @@ application {
}

tasks.named("dependencyUpdates").configure {
resolutionStrategy {
componentSelection {
all {
if (it.candidate.group == 'com.github.rosmord.jsesh' && it.candidate.version == '7.3.1') {
reject("JSesh version ${it.candidate.version} is old, actually...")
}
}
}
rejectVersionIf {
it.candidate.group == 'com.github.rosmord.jsesh' && it.candidate.version == '7.3.1'
}
}

Expand Down

0 comments on commit 5c51186

Please sign in to comment.