tornadofx
tornadofx copied to clipboard
Tornadofx with Kotlin 1.4 "incompatible" warning
I am trying to build a kotlin project (version 1.4.31 on my end) that uses TornadoFX (1.7.20). During compilation I get the warning:
Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
The Gradle dependency tree looks like:
+--- no.tornado:tornadofx:1.7.20
| +--- org.glassfish:javax.json:1.1.2
| | \--- javax.json:javax.json-api:1.1.2
| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61
| | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.61 -> 1.4.31 (*)
| | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61
| | \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.61 -> 1.4.31 (*)
| \--- org.jetbrains.kotlin:kotlin-reflect:1.3.61 -> 1.4.31 (*)
If I use kotlin version 1.3.72 instead, the warning is gone.
this is due to the fact that Kotlin has not been updated in tornadofx