Trying to print all dependencies in my app module ...
# community-support
c
Trying to print all dependencies in my app module which i feel like ive done like 100 times in the past. but I get this error
Copy code
* What went wrong:
Execution failed for task ':app:dependencies'.
> Cannot change dependencies of dependency configuration ':app:internalDebugAndroidTestCompileClasspath' after it has been included in dependency resolution. Use 'defaultDependencies' instead of 'beforeResolve' to specify default dependencies for a configuration.
v
Well, hard to guess from just that. I can just repeat what the error says. Something is trying to change a configuration after it was part of dependency resolution. You can try to find with
--stacktrace
or
--scan
where this change of configuration is done and thus causes the actual exception. But it might also be the case that this is not the problematic part, but that someone or something is resolving the configuration badly prematurely.
c
Thanks! Will try stacktrace
this project is like 3 modules so it should hopefully be easy to find what's going on. i recently introduced kotlin multiplatform so I wonder if maybe that has something to do with it.
🤷‍♂️ 1