Avatar ·

Erro "Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6" em Kotlin

Olá a todos! Sou novo em Kotlin e desenvolvimento Android. Recentemente, encontrei um erro estranho ao compilar um projeto no IntelliJ IDEA. Tenho um projeto simples que usa a biblioteca Corda. Quando tento compilar o projeto, o Gradle exibe o seguinte erro: ``` Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6 ``` O erro ocorre em vários lugares, mas mais frequentemente ao chamar funções inline da biblioteca padrão do Kotlin, como `let`, `apply` ou `also`. Aqui está um exemplo do meu código: ```kotlin fun processData(data: String?) { data?.let { println("Data is not null: $it") } } fun main() { processData("Hello, Kotlin!") } ``` Estou usando Kotlin versão 1.3.72, e no meu `build.gradle` tenho: