apply plugin: 'com.android.application' android { compileSdkVersion 28 buildToolsVersion '27.0.3' defaultConfig { applicationId "com.ivalentin.margolariak" minSdkVersion 19 targetSdkVersion 28 multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } dexOptions { //incremental = true preDexLibraries = false javaMaxHeapSize "2g" } lintOptions { checkReleaseBuilds false } } dependencies { //noinspection GradleDynamicVersion api 'com.android.support:multidex:1.0.3' api 'org.osmdroid:osmdroid-android:5.6.5@aar' } allprojects { repositories { // The order in which you list these repositories matter. google() jcenter() } }