Remove :libraries:tools:stdlib-compiler-classpath project

It was used as a workaround to allow jvmTarget=1.6 in stdlib.
This commit is contained in:
Abduqodiri Qurbonzoda
2022-08-10 17:59:52 +03:00
parent de10a5b8fe
commit 983c7adb1e
7 changed files with 2 additions and 30 deletions
@@ -28,8 +28,6 @@ dependencies {
}
}
project.applyFixForStdlib16()
apply(from = "$rootDir/gradle/cacheRedirector.gradle.kts")
project.configureJvmDefaultToolchain()
project.addEmbeddedConfigurations()
@@ -201,17 +199,6 @@ fun Project.configureKotlinCompilationOptions() {
}
}
// Should the workaround be removed ?
// Still compile stdlib, reflect, kotlin.test and scripting runtimes
// with JVM target 1.6 to simplify migration from Kotlin 1.6 to 1.7.
fun Project.applyFixForStdlib16() {
plugins.withType<KotlinBasePluginWrapper>() {
dependencies {
"kotlinCompilerClasspath"(project(":libraries:tools:stdlib-compiler-classpath"))
}
}
}
fun Project.configureArtifacts() {
tasks.withType<Javadoc>().configureEach {
enabled = false