Skip to content

Commit e118268

Browse files
committed
1.升级api
1 parent 9e213cd commit e118268

File tree

4 files changed

+21
-23
lines changed

4 files changed

+21
-23
lines changed

.idea/gradle.xml

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ActivityResultApiKx/build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ apply plugin: "com.android.library"
22
apply plugin: "kotlin-android"
33

44
android {
5-
compileSdkVersion 31
6-
buildToolsVersion "30.0.3"
5+
compileSdkVersion 33
6+
// buildToolsVersion "30.0.3"
77

88
defaultConfig {
99
minSdkVersion 17
10-
targetSdkVersion 31
11-
versionCode 1
12-
versionName "0.0.1"
10+
targetSdkVersion 33
11+
versionCode 3
12+
versionName "0.0.3"
1313

1414
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1515
consumerProguardFiles "consumer-rules.pro"
@@ -33,12 +33,12 @@ android {
3333
dependencies {
3434

3535
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
36-
implementation 'androidx.core:core-ktx:1.2.0'
37-
implementation 'androidx.appcompat:appcompat:1.3.0'
36+
implementation 'androidx.core:core-ktx:1.9.0'
37+
implementation 'androidx.appcompat:appcompat:1.5.1'
3838

39-
implementation("androidx.activity:activity-ktx:1.2.3")
40-
implementation("androidx.fragment:fragment-ktx:1.3.4")
41-
implementation 'com.alibaba:arouter-api:1.5.2'
39+
implementation("androidx.activity:activity-ktx:1.6.1")
40+
implementation("androidx.fragment:fragment-ktx:1.5.4")
41+
compileOnly 'com.alibaba:arouter-api:1.5.2'
4242
}
4343

4444
//==============================JitPack 上传插件配置 start=====================

app/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ kapt {
1212

1313

1414
android {
15-
compileSdkVersion 31
16-
buildToolsVersion "30.0.3"
15+
compileSdkVersion 33
16+
// buildToolsVersion "30.0.3"
1717

1818
defaultConfig {
1919
applicationId "com.demo.api"
2020
minSdkVersion 19
21-
targetSdkVersion 31
22-
versionCode 1
23-
versionName "1.0"
21+
targetSdkVersion 33
22+
versionCode 3
23+
versionName "0.0.3"
2424

2525
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2626
}
@@ -48,8 +48,8 @@ android {
4848
dependencies {
4949

5050
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
51-
implementation 'androidx.core:core-ktx:1.3.2'
52-
implementation 'androidx.appcompat:appcompat:1.2.0'
51+
implementation 'androidx.core:core-ktx:1.9.0'
52+
implementation 'androidx.appcompat:appcompat:1.5.1'
5353
implementation 'com.google.android.material:material:1.2.1'
5454
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
5555
implementation project(path: ':ActivityResultApiKx')
@@ -59,8 +59,8 @@ dependencies {
5959
// Java language implementation
6060
// implementation("androidx.activity:activity:1.4.0")
6161
// Kotlin
62-
implementation("androidx.activity:activity-ktx:1.2.3")
63-
implementation("androidx.fragment:fragment-ktx:1.3.4")
62+
implementation("androidx.activity:activity-ktx:1.6.1")
63+
implementation("androidx.fragment:fragment-ktx:1.5.4")
6464

6565
implementation 'com.alibaba:arouter-api:1.5.2'
6666
implementation 'com.github.ChinaLike:Widgets:1.2.1'

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
3-
ext.kotlin_version = "1.4.32"
3+
ext.kotlin_version = "1.6.10"
44
repositories {
55
google()
66
jcenter()

0 commit comments

Comments
 (0)