-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Unable to make progress running work with empty buildSrc #28407
Comments
Broken.zip |
Same error, same workaround. Android Studio: Iguana | 2023.2.1 @mandrachek Thankss for the workaround. |
I'm facing the same issue in my Flutter plugin project with Adding this workaround to top level Android Studio Iguana | 2023.2.1 Patch 1 and 2 |
This seems to be the same issue. Reproducer:
|
Current Behavior
When Android Studio Iguana or later attempts to rebuild the project, the build fails with:
Unable to make progress running work. There are items queued for execution but none of them can be started
.Expected Behavior
The build doesn't fail.
Context (optional)
This has broken our builds in Android Studio Iguana and later, as we're using
buildSrc
. It is not clear however that this is the fault of Gradle - I'm not sure what the purpose of calling:buildSrc:testClasses
is. This was not being called when doing a rebuild on Android Studio Hedgehog.This can be worked around by excluding the :buildSrc:testClasses task in the top level settings.gradle file, via:
Steps to Reproduce
Extract the reproducer, then run the same set of tasks in the same order as Android Studio's Build -> Rebuild menu option:
./gradlew :app:clean :buildSrc:clean :app:assembleDebug :app:assembleDebugUnitTest :app:assembleDebugAndroidTest :buildSrc:assemble :buildSrc:testClasses
Gradle version
8.4, 8.5, 8.6, 8.7-rc2
Build scan URL (optional)
No response
Your Environment (optional)
No response
The text was updated successfully, but these errors were encountered: