Replace default-type dependencies to :kotlin-stdlib with distJar

Use distJar configuration instead.
It's necessary because currently when using default-type, subproject
starts having a transitive dependency to :kotlin-stdlib-common
and that leads to exception from KT-20897 when building light classes

This change might be reverted once KT-23942 is fixed

 #KT-23942 Submitted
This commit is contained in:
Denis Zharkov
2018-04-24 15:21:47 +03:00
committed by Vyacheslav Gerasimov
parent 655b737a1e
commit 003f381fcd
20 changed files with 21 additions and 17 deletions
@@ -11,7 +11,7 @@ dependencies {
compile(project(":core:descriptors.jvm"))
compile(project(":compiler:util"))
compile(project(":compiler:cli-common"))
compile(project(":kotlin-stdlib"))
compile(projectDist(":kotlin-stdlib"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeIntellijCoreJarDependencies(project) }
}