kmango 4.0 compile error

29 views
Skip to first unread message

tko...@dizvik.com

unread,
May 10, 2020, 12:43:44 PM5/10/20
to kmongo
Hi,
I have been getting error "Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option" 
When using 

compile 'org.litote.kmongo:kmongo-coroutine:4.0.0'

but it is fine using compile 'org.litote.kmongo:kmongo-coroutine:3.10.0' , in build.gradle file.


any work around to fix this?


zigzago

unread,
Jun 27, 2020, 4:12:09 AM6/27/20
to kmongo
In kmongo doc:

Starting from 4.0, minimum supported jvm is now 1.8 (was 1.6). You have to set the property jvmTarget to 1.8 (or more) in your gradle or maven descriptor


HTH
Reply all
Reply to author
Forward
0 new messages