apply plugin: 'com.android.application' android { compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion rootProject.ext.buildToolsVersion defaultConfig { applicationId "com.topjohnwu.snet" minSdkVersion 14 targetSdkVersion rootProject.ext.compileSdkVersion versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) /* The oldest version */ implementation('com.google.android.gms:play-services-safetynet:7.0.0') { exclude module: 'support-v4' } }