69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("io.objectbox")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.live.mylivewallpaper"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "com.live.mylivewallpaper"
|
|
minSdk = 23
|
|
targetSdk = 35
|
|
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_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation("androidx.appcompat:appcompat:1.7.0")
|
|
implementation("com.google.android.material:material:1.12.0")
|
|
implementation("androidx.constraintlayout:constraintlayout:2.2.0")
|
|
testImplementation("junit:junit:4.13.2")
|
|
androidTestImplementation("androidx.test.ext:junit:1.2.1")
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
|
|
|
|
implementation ("androidx.paging:paging-runtime:3.3.5")
|
|
implementation ("androidx.paging:paging-runtime-ktx:3.3.5") // 包含 Kotlin 扩展
|
|
implementation ("androidx.lifecycle:lifecycle-livedata-ktx:2.6.0") // LiveData 相关
|
|
implementation ("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0")
|
|
|
|
implementation ("com.google.code.gson:gson:2.10.1")
|
|
implementation("com.github.bumptech.glide:glide:4.16.0")
|
|
|
|
implementation("com.squareup.retrofit2:retrofit:2.9.0")
|
|
implementation("io.reactivex.rxjava2:rxjava:2.2.21")
|
|
implementation("io.reactivex.rxjava2:rxandroid:2.1.1")
|
|
implementation("com.squareup.retrofit2:adapter-rxjava2:2.9.0")
|
|
implementation("com.squareup.okhttp3:logging-interceptor:4.11.0")
|
|
|
|
// implementation ("com.google.android.exoplayer:exoplayer:2.19.1")
|
|
implementation("androidx.media3:media3-exoplayer:1.4.1")
|
|
implementation ("androidx.media3:media3-ui:1.4.1")
|
|
implementation ("androidx.media3:media3-exoplayer-dash:1.4.1")
|
|
} |