buildscript { ext.kotlin_version = '1.2.41' repositories { maven { // Google Maven Repository url 'https://maven.google.com' } mavenCentral() jcenter() } dependencies { //classpath 'com.android.tools.build:gradle:2.+' classpath 'com.android.tools.build:gradle:3.1.+' classpath 'com.google.gms:google-services:3.0.0' classpath 'com.github.ksoichiro:gradle-eclipse-aar-plugin:0.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } apply plugin: 'com.github.ksoichiro.eclipse.aar' allprojects { repositories { mavenCentral() maven { url "https://maven.google.com" } jcenter() } }