Update kotlin + gradle + dependencies
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package be.simplenotes
|
||||
|
||||
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
|
||||
import org.gradle.kotlin.dsl.named
|
||||
|
||||
plugins {
|
||||
id("com.github.ben-manes.versions")
|
||||
@@ -11,7 +10,12 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
|
||||
resolutionStrategy {
|
||||
componentSelection {
|
||||
all {
|
||||
if (candidate.module in listOf("slf4j-api", "logback-classic")) reject("Release candidate")
|
||||
if ("RC" in candidate.version) reject("Release candidate")
|
||||
|
||||
when {
|
||||
candidate.group == "org.eclipse.jetty" && candidate.version.startsWith("11.") -> reject("javax -> jakarta")
|
||||
candidate.group == "me.liuwj.ktorm" && candidate.version != "3.0.0" -> reject("SQL Case sensitivity changed")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user