Files
bzForGk2/app/build.gradle
T
hughhuangandClaude Sonnet 4.5 41fa3b04a5 chore: configure app module with dependencies
配置应用模块的构建设置,添加必要的依赖库:
- AndroidX 核心库
- Material Design 组件
- Glide 图片加载库
- Gson JSON 解析库

同时配置 Gradle wrapper 设置。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-20 23:45:39 +08:00

45 lines
1.1 KiB
Groovy

plugins {
id 'com.android.application'
}
android {
namespace 'cn.hugh.bz.gk2'
compileSdk 33
defaultConfig {
applicationId "cn.hugh.bz.gk2"
minSdk 24
targetSdk 31
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
// Glide for image loading
implementation 'com.github.bumptech.glide:glide:4.16.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
// JSON parsing
implementation 'com.google.code.gson:gson:2.10.1'
// Permissions
implementation 'androidx.core:core:1.12.0'
}