Slackbot
12/07/2023, 7:12 PMVampire
12/08/2023, 8:38 AMThomas Broyer
12/09/2023, 5:47 PMval flavor1DebugImplementation by configurations.creating
dependencies {
flavor1DebugImplementation("…")
}
See https://developer.android.com/build/dependencies:
However, if you want to add a dependency for a variant that combines a product flavor and a build type, then you must initialize the configuration name in theblock. The following sample adds aconfigurationsdependency to your "freeDebug" build variant (using a local binary dependency).runtimeOnly