performancegradleoptimizationbuildmmo

Why shouldn't I have circular dependencies in my gradle build?


Is there a performance impact with having circular dependencies? With Gradle?


Solution

  • Dependencies in gradle are discouraged to avoid confusion. When it comes to circular dependencies, you should keep the following in mind:

    In general, these restrictions limit any use case of circular dependencies, and it's highly recommended to refactor them out of your project instead.