整理代码并更新依赖版本

This commit is contained in:
2021-11-27 18:59:44 +08:00
parent 14d1b9c5ac
commit 5d82e9a104
13 changed files with 135 additions and 97 deletions

View File

@@ -20,10 +20,10 @@ android {
defaultConfig {
applicationId "com.fankes.tsbattery"
minSdkVersion 22
//noinspection ExpiredTargetSdkVersion,OldTargetApi
targetSdkVersion 26
versionCode 6
versionName "2.3"
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 28
versionCode 7
versionName "2.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
@@ -46,25 +46,18 @@ android {
dependencies {
compileOnly 'de.robv.android.xposed:api:82'
// 基础依赖包,必须要依赖
// 基础依赖包
implementation 'com.gyf.immersionbar:immersionbar:3.0.0'
// fragment快速实现(可选)
// Fragment 快速实现
implementation 'com.gyf.immersionbar:immersionbar-components:3.0.0'
// kotlin扩展(可选)
// Kotlin 扩展
implementation 'com.gyf.immersionbar:immersionbar-ktx:3.0.0'
//noinspection GradleDependency,DifferentStdlibGradleVersion
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
//noinspection GradleDependency
implementation 'androidx.core:core-ktx:1.5.0'
//noinspection GradleDependency
implementation 'androidx.appcompat:appcompat:1.3.0'
//noinspection GradleDependency
implementation 'com.google.android.material:material:1.3.0'
//noinspection GradleDependency
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
testImplementation 'junit:junit:4.13.2'
//noinspection GradleDependency
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
//noinspection GradleDependency
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}