| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- plugins {
- alias(libs.plugins.kotlin.android)
- id("com.android.library")
- }
- android {
- namespace = "com.narutohuo.xindazhou.common"
- compileSdk = 36
- defaultConfig {
- minSdk = 26
- }
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
- }
- kotlinOptions {
- jvmTarget = "17"
- }
-
- buildFeatures {
- viewBinding = true
- }
- }
- dependencies {
- // 依赖base-core(基础第三方库都在这里)
- // 使用 api 传递 base-core 的依赖给其他模块
- api(project(":base-core"))
-
- // Fragment KTX (提供 DialogFragment 支持)
- implementation("androidx.fragment:fragment-ktx:1.6.2")
-
- // Material Design (用于对话框UI)
- implementation("com.google.android.material:material:1.11.0")
-
- // 注意:Gson、Retrofit、OkHttp、Glide、Coroutines、Timber 已通过 base-core 传递,无需重复依赖
- // 日志通过 base-core 的 ILog 接口统一管理,无需单独依赖 Timber
- }
|