kotlin-result/build.gradle.kts

20 lines
581 B
Plaintext
Raw Normal View History

2019-08-23 23:26:31 +00:00
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
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 {
alias(libs.plugins.versions)
alias(libs.plugins.kotlin.benchmark) apply false
alias(libs.plugins.kotlin.allopen) apply false
2018-09-24 21:13:47 +00:00
}
tasks.withType<DependencyUpdatesTask> {
gradleReleaseChannel = GradleReleaseChannel.CURRENT.id
rejectVersionIf {
2020-08-26 18:42:18 +00:00
listOf("alpha", "beta", "rc", "cr", "m", "eap", "pr", "dev").any {
candidate.version.contains(it, ignoreCase = true)
}
}
}