Files
bzForGk2/app/build.gradle
T
hughhuangandClaude Sonnet 4.5 953815e400 build: 升级到 Java 17 并配置国内镜像
- 修改 sourceCompatibility 和 targetCompatibility 到 VERSION_17
- 添加阿里云镜像仓库以加速依赖下载
- 优化 gradle.properties 配置(并行构建、内存设置)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-22 00:49:57 +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_17
targetCompatibility JavaVersion.VERSION_17
}
}
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'
}