Error "Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6" en Kotlin
¡Hola a todos! Soy nuevo en Kotlin y desarrollo Android. Recientemente me encontré con un error extraño al compilar un proyecto en IntelliJ IDEA. Tengo un proyecto simple que usa la librería Corda. Cuando intento compilar el proyecto, Gradle muestra el siguiente error:
```
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
```
El error ocurre en varios lugares, pero más frecuentemente al llamar funciones inline de la librería estándar de Kotlin, como `let`, `apply` o `also`. Aquí hay un ejemplo de mi código:
```kotlin
fun processData(data: String?) {
data?.let {
println("Data is not null: $it")
}
}
fun main() {
processData("Hello, Kotlin!")
}
```
Estoy usando Kotlin versión 1.3.72, y en mi `build.gradle` tengo especificado: