Skip to content

Where to add dependencyGuard{} closure in project with multi modules & flavors? #107

Description

@trietbui85

For example, there are 3 modules in my project: app, utils and feature.
In app, there are also 2 flavor: dev and prod.

So, where should I add the dependencyGuard{} closure? In project-level build.gradle, or in all module-level build.gradle, or only in app > build.gradle?

And moreover, should I update configuration("releaseRuntimeClasspath") to reflect the flavor? It means configuration("prodReleaseRuntimeClasspath") ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions