Enforce consistent version of Kotlin's stdlib across the whole project

I think something pulls in 1.3's standard library, which confuses IDEA.

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent 0f939935cd
commit d837e72aee
  1. 9
      build.gradle.kts

@ -119,6 +119,15 @@ configure(subprojects.filter { it.isFree }) {
apply(plugin = "org.jmailen.kotlinter")
dependencies {
val api by configurations
for (module in listOf("stdlib", "stdlib-common", "stdlib-jdk7", "stdlib-jdk8")) {
api("org.jetbrains.kotlin:kotlin-$module") {
version {
strictly(Versions.kotlin)
}
}
}
val implementation by configurations
implementation(kotlin("reflect"))
implementation("com.michael-bull.kotlin-inline-logger:kotlin-inline-logger:${Versions.inlineLogger}")

Loading…
Cancel
Save