Skip to content

Commit

Permalink
1.升级api
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinaLike committed Dec 23, 2022
1 parent 9e213cd commit e118268
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 23 deletions.
4 changes: 1 addition & 3 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions ActivityResultApiKx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ apply plugin: "com.android.library"
apply plugin: "kotlin-android"

android {
compileSdkVersion 31
buildToolsVersion "30.0.3"
compileSdkVersion 33
// buildToolsVersion "30.0.3"

defaultConfig {
minSdkVersion 17
targetSdkVersion 31
versionCode 1
versionName "0.0.1"
targetSdkVersion 33
versionCode 3
versionName "0.0.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -33,12 +33,12 @@ android {
dependencies {

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

implementation("androidx.activity:activity-ktx:1.2.3")
implementation("androidx.fragment:fragment-ktx:1.3.4")
implementation 'com.alibaba:arouter-api:1.5.2'
implementation("androidx.activity:activity-ktx:1.6.1")
implementation("androidx.fragment:fragment-ktx:1.5.4")
compileOnly 'com.alibaba:arouter-api:1.5.2'
}

//==============================JitPack 上传插件配置 start=====================
Expand Down
18 changes: 9 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ kapt {


android {
compileSdkVersion 31
buildToolsVersion "30.0.3"
compileSdkVersion 33
// buildToolsVersion "30.0.3"

defaultConfig {
applicationId "com.demo.api"
minSdkVersion 19
targetSdkVersion 31
versionCode 1
versionName "1.0"
targetSdkVersion 33
versionCode 3
versionName "0.0.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -48,8 +48,8 @@ android {
dependencies {

implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation project(path: ':ActivityResultApiKx')
Expand All @@ -59,8 +59,8 @@ dependencies {
// Java language implementation
// implementation("androidx.activity:activity:1.4.0")
// Kotlin
implementation("androidx.activity:activity-ktx:1.2.3")
implementation("androidx.fragment:fragment-ktx:1.3.4")
implementation("androidx.activity:activity-ktx:1.6.1")
implementation("androidx.fragment:fragment-ktx:1.5.4")

implementation 'com.alibaba:arouter-api:1.5.2'
implementation 'com.github.ChinaLike:Widgets:1.2.1'
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.4.32"
ext.kotlin_version = "1.6.10"
repositories {
google()
jcenter()
Expand Down

0 comments on commit e118268

Please sign in to comment.