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:
@@ -9,9 +9,11 @@ dependencies {
|
||||
compile(kotlinStdlib())
|
||||
compileOnly(project(":kotlin-reflect-api"))
|
||||
compileOnly(project(":compiler:util"))
|
||||
runtime(project(":kotlin-reflect"))
|
||||
|
||||
testRuntimeOnly(projectRuntimeJar(":kotlin-compiler"))
|
||||
testRuntimeOnly(project(":kotlin-compiler"))
|
||||
testRuntimeOnly(project(":kotlin-reflect"))
|
||||
testRuntimeOnly(project(":kotlin-scripting-compiler"))
|
||||
|
||||
testCompile(commonDep("junit"))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user