18 lines
446 B
Kotlin
18 lines
446 B
Kotlin
package be.simplenotes
|
|
|
|
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
|
|
|
|
plugins {
|
|
id("com.github.ben-manes.versions")
|
|
}
|
|
|
|
tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
|
|
resolutionStrategy {
|
|
componentSelection {
|
|
all {
|
|
if ("alpha|beta|rc".toRegex().containsMatchIn(candidate.version.lowercase())) reject("Non stable version")
|
|
}
|
|
}
|
|
}
|
|
}
|