RustAssistant/dialog/build.gradle
Cold-Mint 91eabce8cb refactor(项目): 升级Gradle和SDK版本并优化代码
- 将Gradle插件版本升级到8.2.0
- 将compileSdk和targetSdk版本升级到34
- 更新Kotlin插件版本
- 优化部分代码结构
- 更新依赖库版本
2025-02-07 18:33:49 +08:00

44 lines
1.1 KiB
Groovy

plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'com.coldmint.dialog'
compileSdk 34
defaultConfig {
minSdk 21
targetSdk 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
buildFeatures {
viewBinding true
}
kotlinOptions {
jvmTarget = '17'
}
}
dependencies {
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.appcompat:appcompat:1.5.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}