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
I'm using Kotlin and Gradle for normal JVM development, (not android) and this worked for me in build.gradle:
build.gradle
allprojects { tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString() } }