Update build.gradle

This commit is contained in:
xC3FFF0E 2022-01-17 21:29:51 +08:00 committed by GitHub
parent bba213616b
commit 231ec3ebab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,35 +1,33 @@
apply plugin: 'com.android.application'
plugins {
id 'com.android.application'
}
android {
useLibrary 'org.apache.http.legacy'
compileSdkVersion 29
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.xc3fff0e.xmanager"
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "2.6"
versionName "2.7"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation platform('com.google.firebase:firebase-bom:25.12.0')
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.google.firebase:firebase-messaging'
implementation 'com.google.firebase:firebase-analytics'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'com.google.firebase:firebase-database:19.0.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'com.google.code.gson:gson:2.8.7'
implementation 'com.squareup.okhttp3:okhttp:3.9.1'
}