Skip to content
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

Task 'assertModuleGraph' not found (v2.7.0) #277

Closed
miduch opened this issue Aug 28, 2024 · 5 comments
Closed

Task 'assertModuleGraph' not found (v2.7.0) #277

miduch opened this issue Aug 28, 2024 · 5 comments

Comments

@miduch
Copy link

miduch commented Aug 28, 2024

Hello,

I'm getting following error with 2.7.0 update when running ./gradlew assertModuleGraph

FAILURE: Build failed with an exception.

* What went wrong:
Task 'assertModuleGraph' not found in root project 'example' and its subprojects.

can't find any related info in what's new for this release as well. Any help?

@jraska
Copy link
Owner

jraska commented Aug 28, 2024

Hi Hameed,

Please did you try using the --no-configure-on-demand flag?

@miduch
Copy link
Author

miduch commented Aug 28, 2024

Hi Hameed,

Please did you try using the --no-configure-on-demand flag?

Yes result is same with/without --no-configure-on-demand

tried all these:

./gradlew moduleAssertGraph
./gradlew --no-configure-on-demand moduleAssertGraph
./gradlew --configure-on-demand moduleAssertGraph

@jraska
Copy link
Owner

jraska commented Aug 28, 2024 via email

@miduch
Copy link
Author

miduch commented Aug 28, 2024

Ok, sorry for that. Please keep using version 2.6.0. I will release a patch in like 12 hours time. Thanks for reporting it.

On Wed, Aug 28, 2024, 09:19 Hameed Chishti @.> wrote: Hi Hameed, Please did you try using the --no-configure-on-demand flag? Yes result is same with/without --no-configure-on-demand — Reply to this email directly, view it on GitHub <#277 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP4UWMLZAFI75EVL7G5ATTZTV2ZTAVCNFSM6AAAAABNHR3BW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJUGUYTAMBSGA . You are receiving this because you commented.Message ID: @.>

Hold on i might have done a mistake on my side. let me retry with --no-configure-on-demand

@miduch
Copy link
Author

miduch commented Aug 28, 2024

./gradlew --no-configure-on-demand assertModuleGraph works. in previous message i had typo moduleAssertGraph instead of assertModuleGraph

thanks! All good now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants