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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user