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:
@@ -22,7 +22,7 @@ dependencies {
|
||||
compileOnly(project(":compiler:cli-common"))
|
||||
|
||||
// This dependency is necessary to keep the right dependency record inside of POM file:
|
||||
mavenCompileScope(projectRuntimeJar(":kotlin-compiler"))
|
||||
mavenCompileScope(project(":kotlin-compiler"))
|
||||
|
||||
compile(project(":kotlin-native:kotlin-native-utils"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user