jonataslaw / jonataslaw/VideoCompress
Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).
- Dominant language
- Swift
- Stars
- 262
- Forks
- 344
- PR merge metrics
- No merged PRs in 30d
Description
Hi, after upgrading to the latest flutter plugin I get this error on compiling the module
Here is my build.gradle config
...
android {
compileSdkVersion 34
ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
...
The complete error is
Execution failed for task ':video_compress:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).
Dart plugin: 231.9411
Flutter plugin: 77.2.1
Flutter version 3.13.9
Dart version 3.1.5
Thanks
Carlo
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.