-
Notifications
You must be signed in to change notification settings - Fork 73
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
Cannot inline bytecode due to JVM target version #576
Comments
Hi, thanks. I'm going to update the project to java 11+. I hope it helps you, am I right? |
Yes, I think that might help! Thanks :-) |
Merged
I hope it helps you. Feel free to open the issue again =) |
Unfortunately the update didn't work for me and I'm still getting the same error. In my opinion you can leave this issue closed as long as #579 is open, as it should be the same issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
first of all: thank you for this amazing & fun project! :-)
I unfortunately ran into some problems using custom dependencies for a Kotlin DSL which is using a lot of inline functions. The error message I keep getting is:
Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option
Its true that the dependencies are built with JVM target 11, but I also configured the jvmTarget for the kotlin-compiler-server to be 11:
And I also defined a Java toolchain for the server, executors, common and indexation module:
The Java versions of the compiled class files are OK (55), but I'm always getting the error message above.
Thanks in advance for your help.
Regards
The text was updated successfully, but these errors were encountered: