I have seen previous discussions, but thought I'd re-ask the question for newer versions of SBT.
Is there a way to create a cyclical dependency in SBT 0.13+?
Thanks
Analyze cyclic dependenciesFrom the main menu, select Code | Analyze Code | Cyclic Dependencies. In the Specify Cyclic Dependency Analysis Scope dialog, select the scope of files that you want to analyze.
There are a couple of options to get rid of circular dependencies. For a longer chain, A -> B -> C -> D -> A , if one of the references is removed (for instance, the D -> A reference), the cyclic reference pattern is broken, as well. For simpler patterns, such as A -> B -> A , refactoring may be necessary.
Are you talking about library dependencies or task dependencies?
If it's library dependencies, we do not recommend it, but underlying resolver engine probably will handle it.
If you're talking about task dependencies, we do not support it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With