mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-17 21:25:31 +00:00
优化:精简gradle依赖(瘦身计划)
This commit is contained in:
parent
859f8eec83
commit
05ce6c1d72
@ -14,8 +14,9 @@ if (versionPropsFile.exists()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
buildToolsVersion '30.0.3'
|
//noinspection GradleDependency
|
||||||
compileSdkVersion 31
|
buildToolsVersion '32.0.0'
|
||||||
|
compileSdkVersion 32
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility 11
|
sourceCompatibility 11
|
||||||
targetCompatibility 11
|
targetCompatibility 11
|
||||||
@ -23,7 +24,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.idormy.sms.forwarder"
|
applicationId "com.idormy.sms.forwarder"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 31
|
targetSdkVersion 32
|
||||||
versionCode versionProps['versionCode'].toInteger()
|
versionCode versionProps['versionCode'].toInteger()
|
||||||
versionName versionProps['versionName']
|
versionName versionProps['versionName']
|
||||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||||
@ -136,13 +137,10 @@ void cmdExecute(String cmd) {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||||
//noinspection GradleDependency
|
//noinspection GradleDependency
|
||||||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
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'
|
//implementation 'com.google.android.material:material:1.5.0'
|
||||||
//noinspection GradleDynamicVersion
|
testImplementation 'junit:junit:4.13.2'
|
||||||
testImplementation 'junit:junit:4.+'
|
|
||||||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user