I have to compile a project purchased on line. On importing it into android studio..it complained about the gradle version so i updated the distributionUrl to this dis
To use implementation() you need to use gradle v.4 and the gradle plugin v.3
Use:
distributionUrl=\
https\://services.gradle.org/distributions/gradle-4.1-all.zip
and
buildscript {
repositories {
...
// You need to add the following repository to download the
// new plugin.
maven {
url "https://maven.google.com"
}
//google() //only if you use Android Studio 3.x
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta7'
}
}
More info here.