|
@@ -1,14 +1,25 @@
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
+def build = rootProject.ext.build
|
|
|
+def sign = rootProject.ext.sign
|
|
|
+
|
|
|
android {
|
|
|
- compileSdkVersion 29
|
|
|
+ signingConfigs {
|
|
|
+ release {
|
|
|
+ storeFile file(sign.storeFile)
|
|
|
+ keyAlias sign.keyAlias
|
|
|
+ keyPassword sign.keyPassword
|
|
|
+ storePassword sign.storePassword
|
|
|
+ }
|
|
|
+ }
|
|
|
+ compileSdkVersion build.compileSdkVersion
|
|
|
|
|
|
defaultConfig {
|
|
|
- applicationId "me.yoqi.android.netauth"
|
|
|
- minSdkVersion 15
|
|
|
- targetSdkVersion 29
|
|
|
- versionCode 1
|
|
|
- versionName "1.0"
|
|
|
+ applicationId build.applicationId
|
|
|
+ minSdkVersion build.minSdkVersion
|
|
|
+ targetSdkVersion build.targetSdkVersion
|
|
|
+ versionCode build.versionCode
|
|
|
+ versionName build.versionName
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
}
|
|
@@ -17,6 +28,7 @@ android {
|
|
|
release {
|
|
|
minifyEnabled true
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
+ signingConfig signingConfigs.release
|
|
|
}
|
|
|
debug{
|
|
|
minifyEnabled false
|