android-ish question, but every dependency defined...
# community-support
c
android-ish question, but every dependency defined with
implementation
is automatically also available in
androidTestImplementation
right? Same goes for unit tests. So you don't have to redefine every dep to be implementation and testImplementation right?
I ask for a few reasons... but what spurred the question originally is that the new project wizard on android includes this which seems wrong/unnecessary?
t
yeah if they are on impl/api you will get them on the test configs as well.
e
well platform isn't a normal dependency, it's a set of constraints
t
oh yeah I should have looked closer. you do need the platform on both
e
or move it to
api(platform(...))
(which has effects on consumers too, of course)
c
interesting. i guess i wont file a bug against android new project wizard then 😅