This PR updates the dependency notation to be \
implementation("group:artifact:version")\
instead of\
compile 'group:artifact:version'.
Why?
This notation is DSL-agnostic - the previous notation only works in the Groovy DSL, this works in both Groovy and Kotlin.
compile should not be used anymore - implementation was introduced in Gradle 3.4 as a better default that does not expose the dependency to sub-dependencies. Subsequently, compile was deprecated and now finally removed in the latest Gradle version, 7.0.
This PR updates the dependency notation to be \
implementation("group:artifact:version")
\ instead of\compile 'group:artifact:version'
.Why?
compile
should not be used anymore -implementation
was introduced in Gradle 3.4 as a better default that does not expose the dependency to sub-dependencies. Subsequently,compile
was deprecated and now finally removed in the latest Gradle version, 7.0.