Build: Rework runtimeJar helper and drop redundant configuration

#KTI-559
This commit is contained in:
Vyacheslav Gerasimov
2021-07-21 17:00:57 +03:00
parent ab146bd6d4
commit f91d6958a8
37 changed files with 104 additions and 185 deletions
@@ -13,12 +13,13 @@ project.buildscript.repositories {
project.buildscript.dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${project.bootstrapKotlinVersion}"
}
configurations {
kotlinCompilerClasspath
}
if (!(project.findProperty("withoutEmbedabble")?.toString()?.toBoolean() ?: false)) {
project.dependencies {
kotlinCompilerClasspath(project(path: ":kotlin-compiler-embeddable", configuration: "runtimeJar"))
kotlinCompilerClasspath(project(":kotlin-compiler-embeddable"))
}
}