-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Can't use gradle 7 with multiplatform template #585
Comments
Is this related to #584? |
I reproduced both issues separately. So in this case... I did not update android gradle plugin or anything. It was simply trying to get the template project to work with gradle 7. Nothing else. |
The templates uses |
Gradle 7 not yet supported. |
Confirmed once more that this has nothing to do with #584 I tried opening up the template, but upgrade to gradle 7 and it fails with the above. I did see that if I comment out
then everything seems to work, but I'm not sure if I maybe broke something else by removing it. |
@hfhbd how to disable the kotlin version checker? |
kotlinOptions.freeCompilerArgs = listOf(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
) But keep in mind, the Compose plugin depends heavily on the IR, which did change internally in Kotlin 1.5.0. The version checker exists for a reason. |
As of 0.4.0 that I tried today, gradle 7 seems to work fine. Closing! |
Using the multiplatform template project. Upgrade to gradle 6.8.2. Everything works.
Move to gradle 7 (now in prod)
Hit with error
The text was updated successfully, but these errors were encountered: