javaeeanzhuo/build.gradle.kts

71 lines
2.8 KiB
Plaintext
Raw Normal View History

2024-12-20 14:11:35 +00:00
plugins {
alias(libs.plugins.android.application)
}
android {
namespace = "com.example.coursedesign"
compileSdk = 34
defaultConfig {
applicationId = "com.example.coursedesign"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
dependencies {
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.activity)
implementation(libs.constraintlayout)
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
implementation ("de.hdodenhof:circleimageview:3.1.0")
2024-12-22 07:47:20 +00:00
implementation ("com.squareup.okhttp3:okhttp:4.11.0")
implementation ("com.squareup.retrofit2:retrofit:2.9.0")
implementation ("com.squareup.retrofit2:converter-gson:2.9.0") // 如果你需要使用 Gson 转换器
implementation ("com.google.code.gson:gson:2.10.1")
implementation ("com.squareup.okhttp3:logging-interceptor:4.9.3")
2024-12-20 14:11:35 +00:00
// 基础依赖包,必须要依赖
implementation ("com.geyifeng.immersionbar:immersionbar:3.2.2")
// kotlin扩展可选
implementation ("com.geyifeng.immersionbar:immersionbar-ktx:3.2.2")
// fragment快速实现可选已废弃
implementation ("com.geyifeng.immersionbar:immersionbar-components:3.2.2")
implementation ("com.github.bumptech.glide:glide:4.15.1")
implementation ("io.github.youth5201314:banner:2.2.3")
implementation ("com.github.bumptech.glide:glide:4.15.1")
implementation ("com.geyifeng.immersionbar:immersionbar:3.2.2")
implementation ("com.geyifeng.immersionbar:immersionbar-components:3.2.2")
implementation ("io.github.scwang90:refresh-layout-kernel:2.1.0") //核心必须依赖
implementation ("io.github.scwang90:refresh-header-classics:2.1.0") //经典刷新头
implementation ("io.github.scwang90:refresh-header-radar:2.1.0") //雷达刷新头
implementation ("io.github.scwang90:refresh-header-falsify:2.1.0") //虚拟刷新头
implementation ("io.github.scwang90:refresh-header-material:2.1.0") //谷歌刷新头
implementation ("io.github.scwang90:refresh-header-two-level:2.1.0") //二级刷新头
implementation ("io.github.scwang90:refresh-footer-ball:2.1.0") //球脉冲加载
implementation ("io.github.scwang90:refresh-footer-classics:2.1.0")
}