2017-12-04 15:16:41 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2018-03-26 03:53:06 +08:00
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
2017-12-04 15:16:41 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.snet"
|
2018-06-10 02:35:03 +08:00
|
|
|
minSdkVersion 14
|
2018-03-26 03:53:06 +08:00
|
|
|
targetSdkVersion rootProject.ext.compileSdkVersion
|
2017-12-04 15:16:41 +08:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
2018-06-10 02:35:03 +08:00
|
|
|
shrinkResources true
|
2018-07-28 23:40:41 +08:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2017-12-04 15:16:41 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-07-28 14:56:14 +08:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2018-07-28 23:40:41 +08:00
|
|
|
/* The oldest version */
|
|
|
|
implementation('com.google.android.gms:play-services-safetynet:7.0.0') {
|
|
|
|
exclude module: 'support-v4'
|
|
|
|
}
|
2017-12-04 15:16:41 +08:00
|
|
|
}
|