Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM-target compatibility detected in new android studio ladybug #127

Open
trdin opened this issue Dec 4, 2024 · 1 comment
Open

JVM-target compatibility detected in new android studio ladybug #127

trdin opened this issue Dec 4, 2024 · 1 comment

Comments

@trdin
Copy link

trdin commented Dec 4, 2024

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':didomi_sdk:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (21).

The fix for this is simple
just add this in the android section of the build.gradle in the android folder

kotlinOptions {
        jvmTarget = JavaVersion.VERSION_17
    }

it works locally, please fix this :D

@pmerlet-at-didomi
Copy link
Contributor

Hello, thanks for your feedback. We will make sure to include this change in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants