Live_Backgrounds_Wallpaper/app/build.gradle

83 lines
2.7 KiB
Groovy

plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.jetbrainsKotlinAndroid)
id("kotlin-kapt")
}
android {
namespace 'com.timber.soft.mylivewallpaper'
compileSdk 34
defaultConfig {
applicationId "com.timber.soft.mylivewallpaper"
minSdk 22
targetSdk 34
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding = true
buildConfig = true
}
}
dependencies {
implementation libs.androidx.core.ktx
implementation libs.androidx.appcompat
implementation libs.material
implementation libs.androidx.activity
implementation libs.androidx.constraintlayout
testImplementation libs.junit
androidTestImplementation libs.androidx.junit
androidTestImplementation libs.androidx.espresso.core
implementation 'androidx.appcompat:appcompat:1.0.0' //必须 1.0.0 以上
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' //经典加载
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.github.bumptech.glide:glide:4.12.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
kapt 'androidx.room:room-compiler:2.6.1'
implementation 'androidx.room:room-runtime:2.6.1'
implementation("androidx.room:room-ktx:2.6.1")
// viewModel
implementation(libs.lifecycle.viewmodel.ktx)
//viewModel初始化用
implementation(libs.activity.ktx)
implementation(libs.fragment.ktx)
// progress bar
implementation(libs.com.akexorcist.progress.bar)
// RxBinding
implementation(libs.jakewharton.rxbinding4)
}