``` ScriptDiagnostic(message=Cannot inline bytecod...
# scripting
n
Copy code
ScriptDiagnostic(message=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, severity=ERROR, location=Location(start=Position(line=101, col=35, absolut
how or where do i configure compilation options like this ? i found tat i can do this:
Copy code
compilerOptions.append("-jvm-target", "1.8")
but it has no effect
i
Should work, as you correctly guessed. I’ll doublecheck it in a test. BTW, you can omit
.append
, if it is the first/the only usage of the parameter.
n
I tried a lot of different casings and combinations to specify the compiler opts but it seems to not apply them
i
Problem confirmed - https://youtrack.jetbrains.com/issue/KT-27815 We’ll see what we can do about it.