2019-08-23 23:26:31 +00:00
|
|
|
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
|
2021-10-26 16:21:07 +00:00
|
|
|
import com.github.benmanes.gradle.versions.updates.gradle.GradleReleaseChannel
|
2019-09-27 09:25:37 +00:00
|
|
|
|
2018-09-24 21:13:47 +00:00
|
|
|
plugins {
|
2023-03-20 01:20:22 +00:00
|
|
|
alias(libs.plugins.versions)
|
2020-08-07 13:51:27 +00:00
|
|
|
|
2023-03-20 01:20:22 +00:00
|
|
|
alias(libs.plugins.kotlin.benchmark) apply false
|
|
|
|
alias(libs.plugins.kotlin.allopen) apply false
|
2018-09-24 21:13:47 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 15:26:40 +00:00
|
|
|
tasks.withType<DependencyUpdatesTask> {
|
2021-10-26 16:21:07 +00:00
|
|
|
gradleReleaseChannel = GradleReleaseChannel.CURRENT.id
|
|
|
|
|
2020-06-05 15:26:40 +00:00
|
|
|
rejectVersionIf {
|
2020-08-26 18:42:18 +00:00
|
|
|
listOf("alpha", "beta", "rc", "cr", "m", "eap", "pr", "dev").any {
|
2020-06-05 15:26:40 +00:00
|
|
|
candidate.version.contains(it, ignoreCase = true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|