Update gradle files using implementation and api instead of compile
According to https://stackoverflow.com/questions/44493378/whats-the-difference-between-implementation-and-compile-in-gradle and the Gradle documentation, one should use
-
implementation
for local dependencies, -
api
for dependencies which should be exposed to other modules
in favor of compile
.
Analogously for testCompile
and debugCompile
.