12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- 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 33
- defaultConfig {
- applicationId "me.yoqi.android.appmanager"
- minSdkVersion 16
- targetSdkVersion 33
- versionCode 100002
- versionName "1.0.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled true
- shrinkResources 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.6.1'
- implementation 'com.google.android.material:material:1.9.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
- }
|