Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Tornadofx with Kotlin 1.4 "incompatible" warning #1321

Open
mgroth0 opened this issue Mar 17, 2021 · 1 comment
Open

Tornadofx with Kotlin 1.4 "incompatible" warning #1321

mgroth0 opened this issue Mar 17, 2021 · 1 comment

Comments

@mgroth0
Copy link
Contributor

mgroth0 commented Mar 17, 2021

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.

@SchweinchenFuntik
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants