88e31cd1ac
See: https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_plugins
20 lines
581 B
Plaintext
20 lines
581 B
Plaintext
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
|
|
import com.github.benmanes.gradle.versions.updates.gradle.GradleReleaseChannel
|
|
|
|
plugins {
|
|
alias(libs.plugins.versions)
|
|
|
|
alias(libs.plugins.kotlin.benchmark) apply false
|
|
alias(libs.plugins.kotlin.allopen) apply false
|
|
}
|
|
|
|
tasks.withType<DependencyUpdatesTask> {
|
|
gradleReleaseChannel = GradleReleaseChannel.CURRENT.id
|
|
|
|
rejectVersionIf {
|
|
listOf("alpha", "beta", "rc", "cr", "m", "eap", "pr", "dev").any {
|
|
candidate.version.contains(it, ignoreCase = true)
|
|
}
|
|
}
|
|
}
|