Skip to content

Commit 2427b51

Browse files
committed
Relocate aalto-xml and stax2-api dependencies in embeddable compiler (KT-59631)
Two additional dependencies were added during 213 platform migration: com.fasterxml:aalto-xml org.codehaus.woodstox:stax2-api Packages were not relocated and now might cause failures such as ``` Caused by: java.lang.NoSuchMethodError: 'void com.fasterxml.aalto.in.ReaderConfig.setXMLResolver(javax.xml.stream.XMLResolver)' ``` if proguard classes of kotlin-compiler-embeddable are registered early in the classpath. (cherry picked from commit d4c8636)
1 parent 56a7789 commit 2427b51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buildSrc/src/main/kotlin/embeddable.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ val packagesToRelocate =
3131
"net.jpountz",
3232
"one.util.streamex",
3333
"it.unimi.dsi.fastutil",
34-
"kotlinx.collections.immutable"
34+
"kotlinx.collections.immutable",
35+
"com.fasterxml",
36+
"org.codehaus"
3537
)
3638

3739
// The shaded compiler "dummy" is used to rewrite dependencies in projects that are used with the embeddable compiler

0 commit comments

Comments
 (0)