[K/N][build] Dependencies fixes: trove4j and kotlin-compiler

* Depend on kotlin-compiler project instead of its runtimeElements only
* trove4j fixes: add as a dependency and use common version
* Strip dependencies in different projects: remove unnecessary
This commit is contained in:
Pavel Punegov
2022-10-11 18:44:48 +02:00
committed by Space Team
parent ea6b784e41
commit d2c58cdd27
8 changed files with 31 additions and 22 deletions
@@ -30,12 +30,11 @@ application {
dependencies {
implementation(project(":kotlin-native:Interop:Indexer"))
implementation(project(":kotlin-native:utilities:basic-utils"))
api(project(path = ":kotlin-native:endorsedLibraries:kotlinx.cli", configuration = "jvmRuntimeElements"))
implementation(project(path = ":kotlin-native:endorsedLibraries:kotlinx.cli", configuration = "jvmRuntimeElements"))
api(project(":kotlin-stdlib"))
api(project(path = ":kotlin-compiler", configuration = "runtimeElements"))
api(project(":kotlinx-metadata-klib"))
api(project(":native:kotlin-native-utils"))
implementation(project(":kotlinx-metadata-klib"))
implementation(project(":native:kotlin-native-utils"))
implementation(project(":compiler:util"))
implementation(project(":compiler:ir.serialization.common"))