Matt Nelson
02/20/2022, 7:29 PMjvm
and android
targets, with both's kotlinOptions.jvmTarget
set to Java version 11
. Because of the android
target, I cannot use the withJava()
option for the jvm
target (JavaPlugin
unable to be applied b/c of the android plugin), and as such Java 11 apis are not available from the jvmMain
source set.
Is there a way to resolve this so that I can access Java11 apis from the jvmMain
source set? I'd rather not create a separate jvm
only module just to do this.
Thanks.