tornadofx icon indicating copy to clipboard operation
tornadofx copied to clipboard

Tornadofx with Kotlin 1.4 "incompatible" warning

Open mgroth0 opened this issue 3 years ago • 1 comments

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.

mgroth0 avatar Mar 17 '21 00:03 mgroth0

this is due to the fact that Kotlin has not been updated in tornadofx

SchweinchenFuntik avatar Apr 01 '21 16:04 SchweinchenFuntik