Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants