Skip to content

Upgrade major versions of kotlin, gradle and other dependencies #209

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

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

DigitalSeneca
Copy link
Contributor

@DigitalSeneca DigitalSeneca commented Aug 19, 2024

image

Comment on lines +42 to +46
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

Copy link
Contributor Author

@DigitalSeneca DigitalSeneca Aug 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solves this build error due to inconsistency with new kotlin version
https://stackoverflow.com/a/71194804

FAILURE: Build failed with an exception.

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

  Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
  Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation     

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 8s

@DigitalSeneca DigitalSeneca marked this pull request as ready for review August 19, 2024 17:56
@DigitalSeneca DigitalSeneca changed the title Upgrade kotlin, gradle and other dependencies Upgrade major versions of kotlin, gradle and other dependencies Aug 19, 2024
@DigitalSeneca DigitalSeneca requested a review from epou August 19, 2024 17:57
@DigitalSeneca DigitalSeneca merged commit 0521acd into v34 Aug 20, 2024
1 check passed
@DigitalSeneca DigitalSeneca deleted the upgrade-dependencies branch August 20, 2024 07:25
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

Successfully merging this pull request may close these issues.

2 participants