[213] Add library dependencies to kotlin-native.jar

While dependency is added to backend.native, it's than
transitively packed to :kotlin-native:shadowJar. Without it
running gradle with -Pkotlin.native.useEmbeddableCompilerJar=false fails
with

e: java.lang.NoClassDefFoundError: org/codehaus/stax2/typed/TypedXMLStreamException

KTI-1114
This commit is contained in:
Nikolay Krasko
2023-04-28 20:48:48 +02:00
committed by Space Team
parent ae70edb1c8
commit 0fb5934ebd
@@ -140,6 +140,8 @@ dependencies {
compilerApi(commonDependency("org.jetbrains.intellij.deps.fastutil:intellij-deps-fastutil")) { setTransitive(false) }
compilerApi(commonDependency("org.jetbrains.intellij.deps:log4j")) { setTransitive(false) }
compilerApi(commonDependency("org.jetbrains.intellij.deps:jdom"))
compilerApi(commonDependency("com.fasterxml:aalto-xml")) { setTransitive(false) }
compilerApi(commonDependency("org.codehaus.woodstox:stax2-api")) { setTransitive(false) }
}
kotlin_script_runtime_jar project(":kotlin-script-runtime")