chore: configure app module with dependencies
配置应用模块的构建设置,添加必要的依赖库: - AndroidX 核心库 - Material Design 组件 - Glide 图片加载库 - Gson JSON 解析库 同时配置 Gradle wrapper 设置。 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4b07f6bc3e
commit
41fa3b04a5
2 files changed
+48
No files matched your search
@@ -0,0 +1,44 @@
|
|||||||
|
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'
|
||||||
|
}
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
distributionBase=gradle-8.0
|
||||||
|
distributionPath=wrapper/dists
|
||||||
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
zipStorePath=wrapper/dists
|
||||||
Reference in new issue
Block a user