-
Notifications
You must be signed in to change notification settings - Fork 20
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
Build-logic project clean uses different Gradle version #5
Comments
The error is
So basically it seems that Gradle 7.1 is used instead of 7.4.2 |
Hi @hrach. That's a known issue, which I think is fixed in newer IntelliJ versions - I don't see it anymore in IDEA 2022.1.1. Here, Android Studio treats the included build-logic build as a separate build. And since it is configured to look for the Wrapper in the build, it looks for the Wrapper in There are two workarounds I know of to make it work in your Android Studio version:
|
Oh, thanks a lot. ❤️ it didn't crossed my mind that this is an AS issue, I was searching Gradle issues only. |
Hello, we are using patterns based on this repository and we have met weird issue when cleaning through Android studio.
It runs cleans for both projects and the build-logic project clean fail with error resulting from the fact it uses some older Gradle version.
Currently, it is a
Using dependency catalogs requires the activation of the matching feature preview.
error. Otherwise, building the app normally works.Do you have any idea why a different Gradle version is used? Thank you.
The text was updated successfully, but these errors were encountered: