Hi, I am trying to compile some Kotlin code under Java 11 which is using an internal JDK api (eg. com.sun).
I am therefore required to inform the compiler (Java) that I need to use this internal API by specifying:
--add-exports java.base/sun.security.x509=UNNAMED-MODULE
.
How does one coax the Kotlin compiler to process/pass this directive?