apply plugin: 'com.android.application' android { compileSdkVersion 27 buildToolsVersion "27.0.1" defaultConfig { applicationId "com.topjohnwu.snet" minSdkVersion 21 targetSdkVersion 27 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } repositories { google() } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.google.android.gms:play-services-safetynet:11.4.2' }