|
| 1 | +apply plugin: 'com.android.application' |
| 2 | + |
| 3 | +android { |
| 4 | + compileSdkVersion 31 |
| 5 | + lintOptions { |
| 6 | + checkReleaseBuilds false |
| 7 | + // Or, if you prefer, you can continue to check for errors in release builds, |
| 8 | + // but continue the build even when errors are found: |
| 9 | + abortOnError false |
| 10 | + } |
| 11 | + defaultConfig { |
| 12 | + applicationId "tk.louisstudio.daily_notes" |
| 13 | + minSdkVersion 19 |
| 14 | + targetSdkVersion 31 |
| 15 | + versionCode 13 |
| 16 | + multiDexEnabled true |
| 17 | + vectorDrawables.useSupportLibrary = true |
| 18 | + versionName "3.0.1" |
| 19 | + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| 20 | + compileOptions { |
| 21 | + sourceCompatibility JavaVersion.VERSION_1_8 |
| 22 | + targetCompatibility JavaVersion.VERSION_1_8 |
| 23 | + } |
| 24 | + } |
| 25 | + buildTypes { |
| 26 | + release { |
| 27 | + minifyEnabled true |
| 28 | + shrinkResources true |
| 29 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 30 | + multiDexKeepProguard file('multidex-config.pro') |
| 31 | + } |
| 32 | + debug { |
| 33 | + minifyEnabled false |
| 34 | + shrinkResources false |
| 35 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 36 | + multiDexKeepProguard file('multidex-config.pro') |
| 37 | + } |
| 38 | + } |
| 39 | + packagingOptions { |
| 40 | + exclude 'META-INF/DEPENDENCIES.txt' |
| 41 | + exclude 'META-INF/LICENSE.txt' |
| 42 | + exclude 'META-INF/NOTICE.txt' |
| 43 | + exclude 'META-INF/NOTICE' |
| 44 | + exclude 'META-INF/LICENSE' |
| 45 | + exclude 'META-INF/DEPENDENCIES' |
| 46 | + exclude 'META-INF/notice.txt' |
| 47 | + exclude 'META-INF/license.txt' |
| 48 | + exclude 'META-INF/dependencies.txt' |
| 49 | + exclude 'META-INF/LGPL2.1' |
| 50 | + exclude 'META-INF/LICENSE-LGPL-3.txt' |
| 51 | + exclude 'META-INF/LICENSE-LGPL-2.1.txt' |
| 52 | + exclude 'META-INF/LICENSE-W3C-TEST' |
| 53 | + } |
| 54 | +} |
| 55 | + |
| 56 | +dependencies { |
| 57 | + implementation fileTree(dir: 'libs', include: ['*.jar']) |
| 58 | + implementation 'androidx.appcompat:appcompat:1.1.0' |
| 59 | + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' |
| 60 | + implementation 'androidx.preference:preference:1.1.1' |
| 61 | + testImplementation 'junit:junit:4.12' |
| 62 | + androidTestImplementation 'androidx.test.ext:junit:1.1.1' |
| 63 | + androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' |
| 64 | + implementation 'com.github.bumptech.glide:glide:4.10.0' |
| 65 | + annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0' |
| 66 | + implementation 'com.baoyz.pullrefreshlayout:library:1.2.0' |
| 67 | + implementation 'com.andrognito.pinlockview:pinlockview:2.1.0' |
| 68 | + implementation 'com.google.android.material:material:1.1.0' |
| 69 | + implementation 'com.thegrizzlylabs.sardine-android:sardine-android:0.4' |
| 70 | + implementation 'com.rengwuxian.materialedittext:library:2.1.4' |
| 71 | + implementation 'com.android.support:multidex:1.0.3' |
| 72 | + implementation 'com.flipboard:bottomsheet-core:1.5.3' |
| 73 | + implementation 'com.github.chrisbanes:PhotoView:2.3.0' |
| 74 | + implementation 'gdut.bsx:share2:0.9.3' |
| 75 | + implementation 'ws.vinta:pangu:1.1.0' |
| 76 | +} |
0 commit comments