When trying to run the Example CorDapp (GitHub CorDapp) via IntelliJ, I receive the following error:
Cannot inline bytecode built with JVM target 1.8 int
in most cases this is enough:
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
if you have declared custom Gradle tasks like integrationTest for example, add a configuration for compile as well:
compileIntegrationTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}