Build: Fix dependencies on :kotlin-compiler project

Dependencies on :kotlin-compiler should never be used in configurations
which are imported transitively because ide fails to import it as
project dependency. When :kotlin-compiler dependency is imported as
kotlin-compiler.jar dependency ide re-indexes it on every change. This
behaviour is super annoying.

 #KT-31120 Fixed
This commit is contained in:
Vyacheslav Gerasimov
2019-06-06 20:19:53 +03:00
parent c39896165e
commit 5bde9720b7
11 changed files with 23 additions and 15 deletions
@@ -23,7 +23,7 @@ dependencies {
testRuntime(project(":kotlin-reflect"))
testCompile(commonDep("junit:junit"))
testCompile(project(":kotlin-scripting-compiler"))
testRuntimeOnly(projectRuntimeJar(":kotlin-compiler"))
testRuntimeOnly(project(":kotlin-compiler"))
testRuntime("org.jetbrains.kotlin:jcabi-aether:1.0-dev-3")
testRuntime("org.sonatype.aether:aether-api:1.13.1")
testRuntime("org.apache.maven:maven-core:3.0.3")