-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(deps): #160 Kotlin 2.0 and fixed Issue With New Compiler Options DSL #162
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Can you check if other modules need the same update?
gradle/libs.versions.toml
Outdated
@@ -1,6 +1,6 @@ | |||
[versions] | |||
gradle = "8.2.1" | |||
kotlin = "1.9.22" | |||
kotlin = "2.0.0" | |||
dokka = "1.9.20" | |||
android = "8.1.1" | |||
jvmTarget = "1.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use this value instead of JvmTarget.JVM_1_8
?
This way, we can update all the places at the same time when needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi
Actually the problem is they have moved from String definition to enum definition for JVM Target. We have to use enum value. I don't see a way to define enum type in libs.version.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, thanks.
Then, can you update other places using this value(like here: https://github.com/yshrsmz/BuildKonfig/blob/master/buildkonfig-compiler/build.gradle.kts#L44) and remove this jvmTarget
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I updated compiler options in the buildKonfig-compiler module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
I'll make a new release asap ;)
resolve #160