Skip to content

Commit

Permalink
replace String.toLowerCase() by String.lowercase()
Browse files Browse the repository at this point in the history
  • Loading branch information
paulchen committed Jun 8, 2023
1 parent 53d9bde commit 2ff67e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {

tasks.withType<DependencyUpdatesTask> {
rejectVersionIf {
candidate.version.toLowerCase().contains("alpha") ||
candidate.version.toLowerCase().contains("beta") ||
candidate.version.toLowerCase().contains("rc")
candidate.version.lowercase().contains("alpha") ||
candidate.version.lowercase().contains("beta") ||
candidate.version.lowercase().contains("rc")
}
}

Expand Down

0 comments on commit 2ff67e1

Please sign in to comment.