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.
This commit is contained in:
Nikolay Krasko
2023-06-23 22:08:06 +02:00
committed by Space Team
parent 78e288be38
commit d4c8636c70
+3 -1
View File
@@ -31,7 +31,9 @@ val packagesToRelocate =
"net.jpountz",
"one.util.streamex",
"it.unimi.dsi.fastutil",
"kotlinx.collections.immutable"
"kotlinx.collections.immutable",
"com.fasterxml",
"org.codehaus"
)
// The shaded compiler "dummy" is used to rewrite dependencies in projects that are used with the embeddable compiler