123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- apply plugin: 'com.android.application'
- def keystoreProperties = new Properties()
- def keystoreProperitiesFile = rootProject.file('keystore.properties')
- if (keystoreProperitiesFile.exists()) {
- keystoreProperties.load(new FileInputStream(keystoreProperitiesFile))
- }
- android {
- signingConfigs {
- release {
- storeFile file(keystoreProperties['storeFile'])
- keyAlias keystoreProperties['keyAlias']
- keyPassword keystoreProperties['keyPassword']
- storePassword keystoreProperties['storePassword']
- }
- }
- compileSdkVersion 29
- defaultConfig {
- applicationId "me.yoqi.android.appmanager"
- minSdkVersion 16
- targetSdkVersion 29
- versionCode 2
- versionName "1.0.1"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.release
- }
- }
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar"])
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- }
|