Skip to content

Commit

Permalink
Merge pull request #273 from connectbot/dependabot/gradle/com.diffplu…
Browse files Browse the repository at this point in the history
…g.spotless-6.22.0

Bump com.diffplug.spotless from 6.21.0 to 6.22.0
  • Loading branch information
kruton authored Nov 20, 2023
2 parents 5e42e06 + a8dba91 commit 7524ed5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
`maven-publish`
signing
jacoco
id("com.diffplug.spotless") version "6.21.0"
id("com.diffplug.spotless") version "6.22.0"
id("com.github.ben-manes.versions") version "0.50.0"
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
id("net.researchgate.release") version "3.0.2"
Expand Down Expand Up @@ -127,9 +127,10 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates") {
resolutionStrategy {
componentSelection {
all {
val rejected = listOf("alpha", "beta", "rc", "cr", "m", "preview", "b", "ea")
.map { qualifier -> Regex("(?i).*[.-]$qualifier[.\\d-+]*") }
.any { it.matches(candidate.version) }
val rejected =
listOf("alpha", "beta", "rc", "cr", "m", "preview", "b", "ea")
.map { qualifier -> Regex("(?i).*[.-]$qualifier[.\\d-+]*") }
.any { it.matches(candidate.version) }
if (rejected) {
reject("Release candidate")
}
Expand Down

0 comments on commit 7524ed5

Please sign in to comment.