-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Issue With New Compiler Options DSL #160
Comments
same |
@iammohdzaki thanks for the workaround! |
Faced the same issue, is there any proper fix available for this ? other than this workaround ? |
@dinesh-thiyagarajan I guess the Kotlin version needs to be updated to 2.0.0 in this library currently it is 1.9.22. |
iammohdzaki
added a commit
to iammohdzaki/BuildKonfig
that referenced
this issue
Aug 8, 2024
iammohdzaki
added a commit
to iammohdzaki/BuildKonfig
that referenced
this issue
Aug 31, 2024
yshrsmz
pushed a commit
that referenced
this issue
Aug 31, 2024
This was referenced Jul 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to integrate buildKonfig lib in fresh KMP project from KMP wizard. After Adding all required steps to integrate I started facing error:
Using 'compilerOptions(KotlinCommonCompilerOptions.() -> Unit): Unit' is an error. Kotlin target level compiler options DSL is not available in this release!
This is the current Compiler Options DSL in KMP project:
androidTarget { @OptIn(ExperimentalKotlinGradlePluginApi::class) compilerOptions { jvmTarget.set(JvmTarget.JVM_11) } }
I still made it work by replacing this with older compiler options
androidTarget { compilations.all { kotlinOptions { jvmTarget = "11" } } }
The text was updated successfully, but these errors were encountered: