buildscript { ext.kotlin_version = '1.2.71' repositories { google() mavenCentral() jcenter() } dependencies { //classpath 'com.android.tools.build:gradle:2.+' classpath 'com.android.tools.build:gradle:3.2.1' classpath 'com.google.gms:google-services:3.0.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } allprojects { repositories { ivy { name = "OsmAndBinariesIvy" url = "http://builder.osmand.net" layout "pattern", { artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" } } google() mavenCentral() jcenter() maven { url "https://jitpack.io" } } }