I would go for Kotlin Multiplatform if I needed a shared code-base these days.
Why Kotlin?
JVM compatible, native UI.
ooh why?