https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

coletz

06/28/2019, 10:13 AM
Copy code
kotlin{
  jvm("desktop"){
    compilations.main.kotlinOptions.jvmTarget = "1.8"
  }
}
It is still using java 11, so javafx is not working :( Anyone know how can I force the compiler to use java 8?
r

ribesg

06/28/2019, 10:42 AM
You can’t use JavaFX 12?
c

coletz

06/28/2019, 10:53 AM
Nope, tornadofx 1.x uses java 8 and I can't find tornadofx 2.0 on any repo (don't want to build it locally)
Maybe I can ditch tornado and use javafx alone
a

Alexey Belkov [JB]

06/28/2019, 12:36 PM
c

coletz

06/28/2019, 7:52 PM
I think it's just because I can't target both jvm and android so something was broken (not related to java version)
6 Views