dropbox / dropbox/dependency-guard

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

Open
#107 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
493
Forks
19
PR merge metrics
No merged PRs in 30d

Description

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") `?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.