kotlintest does not work with 1.1-beta
See original GitHub issueWhenever I try to run the tests:
e: Some runtime JAR files in the classpath have an incompatible version. Remove them from the classpath or pass the correct '-language-version' explicitly. Alternatively, you can use '-Xskip-runtime-version-check' to suppress this error
e: C:\Users\GBarbieri\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-reflect\1.0.4\ab1d288da47c0d798553ccea9d8b4fd6a0e3b8e4\kotlin-reflect-1.0.4.jar: Runtime JAR file has version 1.0 which is older than required for language version 1.1
JetBrain also suggest it:
Seems that you’re getting
kotlin-reflect:1.0.4
as a transitive dependency of one of your dependencies, and since it would cause problems when used withkotlin-stdlib:1.1
, the compiler prohibits such dependency graph.
Would it be possible to have a build/release based on 1.1?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Kotlin 1.1 Beta 2 is here - The JetBrains Blog
We're happy to announce the second beta of Kotlin 1.1. Please give the new version a try - your feedback is essential for...
Read more >Has anyone encountered this before java lang NoSuchMethodErr ...
Out of nowhere my code stopped working, invalidate + restart and a clean build didn't fix it, nor did bumping the compiler +...
Read more >Configurable factory in Kotlin for JavaScript - Stack Overflow
It seems like a bug in Kotlin's Javascript compiler for version 1.0.6. I tried your example with both version 1.0.6 and the 1.1-beta,...
Read more >kotlin/ChangeLog-1.1.X.md at master - GitHub
1.1.3-2. Fixes. Noarg compiler plugin reverted to 1.1.2 behavior: by default, it will not run any initialization code from the generated default constructor ......
Read more >Old Release Notes | PMD Source Code Analyzer
You can write your own rules, but we don't guarantee that the rules work with the next (minor) version ... #2653: [lang-test] Upgrade...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I know you hate me…
but could you release it for rc-91? :p
I’ll release one this weekend.