diff --git a/build.gradle.kts b/build.gradle.kts index dede819..b07492c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,14 +1,14 @@ plugins { - kotlin("jvm") version "1.4.30" + kotlin("jvm") version "1.4.32" `java-gradle-plugin` `maven-publish` id("com.github.johnrengelman.shadow") version "6.1.0" - id("org.jmailen.kotlinter") version "3.3.0" - id("com.github.ben-manes.versions") version "0.36.0" + id("org.jmailen.kotlinter") version "3.4.0" + id("com.github.ben-manes.versions") version "0.38.0" } group = "com.github.cs125-illinois" -version = "2021.2.1" +version = "2021.3.0" repositories { mavenCentral() @@ -18,9 +18,9 @@ dependencies { implementation(kotlin("stdlib")) implementation(kotlin("reflect")) implementation(gradleApi()) - implementation("com.fasterxml.jackson.core:jackson-databind:2.11.3") - implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.3") - implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.3") + implementation("com.fasterxml.jackson.core:jackson-databind:2.12.2") + implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.12.2") + implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.12.2") } gradlePlugin { plugins { @@ -34,3 +34,17 @@ java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } +tasks.dependencyUpdates { + resolutionStrategy { + componentSelection { + all { + if (listOf("alpha", "beta", "rc", "cr", "m", "preview", "b", "ea", "eap", "pr").any { qualifier -> + candidate.version.matches(Regex("(?i).*[.-]$qualifier[.\\d-+]*")) + }) { + reject("Release candidate") + } + } + } + } + gradleReleaseChannel = "current" +}