You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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") ?
The text was updated successfully, but these errors were encountered:
trietbui85
changed the title
Where to add dependencyGuard{} closure in multi modules & flavors?
Where to add dependencyGuard{} closure in project with multi modules & flavors?
Apr 6, 2024
For example, there are 3 modules in my project:
app
,utils
andfeature
.In
app
, there are also 2 flavor:dev
andprod
.So, where should I add the
dependencyGuard{}
closure? In project-levelbuild.gradle
, or in all module-levelbuild.gradle
, or only inapp > build.gradle
?And moreover, should I update
configuration("releaseRuntimeClasspath")
to reflect the flavor? It meansconfiguration("prodReleaseRuntimeClasspath")
?The text was updated successfully, but these errors were encountered: