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. Estoy usando IntelliJ IDEA (última versión) y Gradle. Recientemente comencé un nuevo proyecto en el que quiero usar características modernas de Kotlin, como funciones inline y lambdas con `inline`. Configuré el proyecto con JVM target 1.8, ya que quiero usar las nuevas funcionalidades de Java 8.
Aquí está mi `build.gradle.kts`:
```kotlin
plugins {
kotlin("jvm") version "1.9.0"
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib"))
}
tasks.withType {
kotlinOptions {
jvmTarget = "1.8"
}
}
```
Pero cuando ejecuto la compilación, obtengo el error:
```
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
```
No entiendo por qué