优化:精简gradle依赖(瘦身计划)

This commit is contained in:
pppscn 2022-02-14 07:41:24 +08:00
parent 859f8eec83
commit 05ce6c1d72

View File

@ -14,8 +14,9 @@ if (versionPropsFile.exists()) {
}
android {
buildToolsVersion '30.0.3'
compileSdkVersion 31
//noinspection GradleDependency
buildToolsVersion '32.0.0'
compileSdkVersion 32
compileOptions {
sourceCompatibility 11
targetCompatibility 11
@ -23,7 +24,7 @@ android {
defaultConfig {
applicationId "com.idormy.sms.forwarder"
minSdkVersion 21
targetSdkVersion 31
targetSdkVersion 32
versionCode versionProps['versionCode'].toInteger()
versionName versionProps['versionName']
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
@ -136,13 +137,10 @@ void cmdExecute(String cmd) {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleDependency
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
//noinspection GradleDependency
implementation 'com.google.firebase:firebase-crashlytics-buildtools:2.5.2'
//implementation 'com.google.android.material:material:1.5.0'
//noinspection GradleDynamicVersion
testImplementation 'junit:junit:4.+'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'