diff --git a/app/build.gradle b/app/build.gradle index 5becaf9..f661967 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,14 +8,14 @@ ext { android { namespace 'com.miraclegarden.smsmessage' - compileSdk 32 + compileSdk 34 defaultConfig { applicationId "com.miraclegarden.smsmessage" minSdk 24 - targetSdk 32 - versionCode 11 - versionName "2.1" + targetSdk 34 + versionCode 12 + versionName "2.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -59,13 +59,13 @@ android { dependencies { implementation "com.github.yingliangwei:MiracleGardenLib:1.0" - implementation 'androidx.databinding:viewbinding:7.3.0' - implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.10' - implementation 'androidx.appcompat:appcompat:1.5.0' - implementation 'com.google.android.material:material:1.6.1' - implementation 'com.github.yingliangwei:MiracleGardenLib:1.0' + implementation 'com.squareup.okhttp3:okhttp:4.12.0' + implementation 'androidx.appcompat:appcompat:1.7.0' + implementation 'com.google.android.material:material:1.12.0' + implementation 'androidx.core:core:1.13.1' + implementation 'androidx.work:work-runtime:2.9.1' testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.3' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' - api 'com.google.code.gson:gson:2.9.0' + androidTestImplementation 'androidx.test.ext:junit:1.2.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' + api 'com.google.code.gson:gson:2.11.0' } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 90f9008..d08ef8d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '7.3.0' apply false - id 'com.android.library' version '7.3.0' apply false + id 'com.android.application' version '8.4.0' apply false + id 'com.android.library' version '8.4.0' apply false } \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 7b6e034..c652350 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Thu Jan 12 14:47:56 CST 2023 distributionBase=GRADLE_USER_HOME -distributionUrl=https://mirrors.cloud.tencent.com/gradle/gradle-7.5.1-bin.zip +distributionUrl=https://mirrors.cloud.tencent.com/gradle/gradle-8.7-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/library/build.gradle b/library/build.gradle index 521c17f..83e6b88 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -4,11 +4,11 @@ plugins { android { namespace 'com.miraclegarden.library' - compileSdk 32 + compileSdk 34 defaultConfig { minSdk 21 - targetSdk 32 + targetSdk 34 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" @@ -25,13 +25,16 @@ android { targetCompatibility JavaVersion.VERSION_17 } + buildFeatures { + viewBinding true + } + } dependencies { - implementation 'androidx.databinding:viewbinding:7.3.0' - implementation 'androidx.appcompat:appcompat:1.5.0' - implementation 'com.google.android.material:material:1.6.1' + implementation 'androidx.appcompat:appcompat:1.7.0' + implementation 'com.google.android.material:material:1.12.0' testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.3' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + androidTestImplementation 'androidx.test.ext:junit:1.2.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' } \ No newline at end of file