File tree Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,12 @@ apply plugin: 'kotlin-android'
4
4
apply plugin : ' kotlin-android-extensions'
5
5
6
6
android {
7
- compileSdkVersion 31
8
- buildToolsVersion " 30.0.3"
7
+ compileSdkVersion 33
9
8
10
9
defaultConfig {
11
10
applicationId " com.pengxh.kt.lib"
12
11
minSdkVersion 23
13
- targetSdkVersion 31
12
+ targetSdkVersion 33
14
13
versionCode 1
15
14
versionName " 1.0"
16
15
}
@@ -31,10 +30,10 @@ dependencies {
31
30
implementation project(path : ' :lite' )
32
31
implementation ' androidx.core:core-ktx:1.9.0'
33
32
implementation ' androidx.appcompat:appcompat:1.6.1'
34
- implementation ' androidx.recyclerview:recyclerview:1.2.1 '
33
+ implementation ' androidx.recyclerview:recyclerview:1.3.0 '
35
34
// Google官方授权库
36
35
implementation ' pub.devrel:easypermissions:3.0.0'
37
- implementation ' com.google.code.gson:gson:2.9.0 '
36
+ implementation ' com.google.code.gson:gson:2.10.1 '
38
37
// 沉浸式状态栏。基础依赖包,必须要依赖
39
38
implementation ' com.gyf.immersionbar:immersionbar:3.0.0'
40
39
// 图片选择框架
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
google()
7
7
}
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:3.6.4 '
9
+ classpath ' com.android.tools.build:gradle:4.2.2 '
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
11
12
12
// NOTE: Do not place your application dependencies here; they belong
@@ -23,6 +23,6 @@ allprojects {
23
23
}
24
24
}
25
25
26
- task clean ( type : Delete ) {
26
+ tasks . register( ' clean ' , Delete ) {
27
27
delete rootProject. buildDir
28
28
}
Original file line number Diff line number Diff line change 1
1
# Fri Jun 10 18:49:28 CST 2022
2
2
distributionBase =GRADLE_USER_HOME
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.1 .1-all.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.7 .1-all.zip
4
4
distributionPath =wrapper/dists
5
5
zipStorePath =wrapper/dists
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -3,12 +3,11 @@ apply plugin: 'kotlin-android'
3
3
apply plugin : ' kotlin-android-extensions'
4
4
5
5
android {
6
- compileSdkVersion 31
7
- buildToolsVersion " 30.0.3"
6
+ compileSdkVersion 33
8
7
9
8
defaultConfig {
10
9
minSdkVersion 23
11
- targetSdkVersion 31
10
+ targetSdkVersion 33
12
11
versionCode 1
13
12
versionName " 1.0"
14
13
@@ -50,10 +49,11 @@ dependencies {
50
49
implementation ' com.github.bumptech.glide:glide:4.9.0'
51
50
// 官方Json解析库
52
51
implementation ' com.google.code.gson:gson:2.9.0'
52
+ def vm_version = ' 2.5.1'
53
53
// Kotlin协程
54
- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.5.1 '
54
+ implementation " androidx.lifecycle:lifecycle-runtime-ktx:${ vm_version } "
55
55
// MVVM+LiveData
56
- implementation " androidx.lifecycle:lifecycle-livedata-ktx:2.5.1 "
57
- implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1 "
56
+ implementation " androidx.lifecycle:lifecycle-livedata-ktx:${ vm_version } "
57
+ implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:${ vm_version } "
58
58
implementation " androidx.lifecycle:lifecycle-extensions:2.2.0"
59
59
}
You can’t perform that action at this time.
0 commit comments