You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently i updated my project to Java 17 and discovered kapt errors. After searching for errors I found this:
private fun updateKotlinOption(target: KotlinTarget) {
target.compilations.all { compilation ->
// Setup correct compiler options
// FIXME AUTO-SETUP Are these to dangerous to apply under the hood?
when (val options = compilation.kotlinOptions) {
is KotlinJvmOptions -> {
options.jvmTarget = "1.8"
}
}
}
}
In this plugin:
id("io.realm.kotlin") version "1.9.0" apply false
Stacktrace & log output
FT ~ Opusrornnetarsshop tied A: 2705 202800 730% Execution failed for task ' :app:kaptGenerateStubsDebugKotLin’ .> Inconsistent JVM-target compatibility detected for tasks ‘compileDebugJavaWithJavac' (17) and ‘kaptGenerateStubsDebugkotLin' (1.8).* Try:> Run with --info or =-debug option to get more log output.> Run with --scan to get full insights.> Get more help at https://nelp.aradle.org.
Can you reproduce the bug?
Always
Reproduction Steps
use id("io.realm.kotlin") version "1.9.0" apply false
How frequently does the bug occur?
Always
Description
Recently i updated my project to Java 17 and discovered kapt errors. After searching for errors I found this:
In this plugin:
id("io.realm.kotlin") version "1.9.0" apply false
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
id("io.realm.kotlin") version "1.9.0" apply false
Version
14
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Android
Build environment
Android Studio version: Koala | 2024.1.1
Android Build Tools version: 8.4.1
Gradle version: 3.2-8.5
The text was updated successfully, but these errors were encountered: