Updated on 2026-08-14
This commit is contained in:
parent
6a82ee1600
commit
229dc89bcb
28 changed files with 623 additions and 36 deletions
|
|
@ -61,7 +61,7 @@ android {
|
|||
}
|
||||
|
||||
flavorDimensions += "services"
|
||||
|
||||
|
||||
productFlavors {
|
||||
create("google") {
|
||||
dimension = "services"
|
||||
|
|
@ -73,6 +73,15 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
// `src/prodDi/` holds production DI bindings for interfaces with a `mocked` counterpart.
|
||||
// Wired into every build type EXCEPT `mocked`, which supplies its own bindings from `src/mocked/`.
|
||||
buildTypes.configureEach {
|
||||
if (name != "mocked") {
|
||||
sourceSets.named(name) {
|
||||
java.srcDir("src/prodDi/java")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue