更新构建配置和 Gradle 版本

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
wchino
2026-04-05 22:27:51 +08:00
parent d0cccc6597
commit 1ab9f0ab88
5 changed files with 25 additions and 22 deletions

View File

@@ -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'
}

View File

@@ -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
}

View File

@@ -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

0
gradlew vendored Normal file → Executable file
View File

View File

@@ -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'
}