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

This reverts commit d837e72aee.

I'm hoping that this is no longer necessary. It causes problems with
downstream projects.
Graham 2 years ago
parent 54f2a44eab
commit 7d51312e57
  1. 10
      build.gradle.kts

@ -1,6 +1,5 @@
import org.jetbrains.dokka.gradle.DokkaTask import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper
import org.jetbrains.kotlin.gradle.plugin.getKotlinPluginVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jmailen.gradle.kotlinter.KotlinterExtension import org.jmailen.gradle.kotlinter.KotlinterExtension
import org.jmailen.gradle.kotlinter.KotlinterPlugin import org.jmailen.gradle.kotlinter.KotlinterPlugin
@ -126,15 +125,6 @@ configure(subprojects.filter { it.isFree }) {
apply(plugin = "org.jmailen.kotlinter") apply(plugin = "org.jmailen.kotlinter")
dependencies { dependencies {
val api by configurations
for (module in listOf("stdlib", "stdlib-common", "stdlib-jdk7", "stdlib-jdk8")) {
api("org.jetbrains.kotlin:kotlin-$module") {
version {
strictly(project.getKotlinPluginVersion())
}
}
}
val implementation by configurations val implementation by configurations
implementation(kotlin("reflect")) implementation(kotlin("reflect"))
implementation(libs.inlineLogger) implementation(libs.inlineLogger)

Loading…
Cancel
Save