How would I add debug dependencies for my android sourceset? normally its just
debugImplementation
m
Mitchell Syer
09/05/2023, 2:21 AM
Add a top level dependencies block, and it will likely be something like
Copy code
dependencies {
androidDebugImplementation()
}
z
zt
09/05/2023, 3:39 AM
is there no way to add it inside the sourceset with all my other dependencies?
m
Mitchell Syer
09/05/2023, 3:41 AM
Not from what I know, the sourceset dependencies block is more restrictive, for advanced dependency features like excludes and variants I've had to use the top level one
j
Jagtej Sodhi
09/06/2023, 12:03 AM
@Mitchell Syer@zt follow up question: Have you figured out a good solution on how to deal with product flavor / build variants in KMP?