87 lines
2.8 KiB
Plaintext
87 lines
2.8 KiB
Plaintext
import java.util.Date
|
|
import java.text.SimpleDateFormat
|
|
|
|
plugins {
|
|
alias(libs.plugins.androidApplication)
|
|
alias(libs.plugins.jetbrainsKotlinAndroid)
|
|
id("com.google.gms.google-services")
|
|
id("com.google.firebase.crashlytics")
|
|
|
|
}
|
|
|
|
val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date())
|
|
android {
|
|
namespace = "com.cute.girl.hd.pink.img.wallpaper"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
//com.wallart.art.wallpapers.hd
|
|
applicationId = "com.wallart.art.wallpapers.hd"
|
|
minSdk = 23
|
|
targetSdk = 34
|
|
versionCode = 3
|
|
versionName = "1.0.2"
|
|
setProperty("archivesBaseName", "Art Wallpaper_V" + versionName + "(${versionCode})_$timestamp")
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
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)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.androidx.junit)
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
|
//tabLayout
|
|
implementation("io.github.h07000223:flycoTabLayout:3.0.0")
|
|
//下拉刷新上拉加载
|
|
// implementation("io.github.scwang90:refresh-layout-kernel:2.0.5") //核心必须依赖
|
|
// implementation("io.github.scwang90:refresh-header-classics:2.0.5") //经典刷新头
|
|
//okhttp
|
|
implementation("com.squareup.okhttp3:okhttp:4.9.2")
|
|
implementation("commons-codec:commons-codec:1.11")
|
|
|
|
implementation("com.github.bumptech.glide:glide:4.15.1")
|
|
annotationProcessor("com.github.bumptech.glide:compiler:4.11.0")
|
|
|
|
// implementation("com.squareup.retrofit2:retrofit:2.9.0")
|
|
// implementation("com.squareup.retrofit2:converter-gson:2.9.0")
|
|
|
|
implementation("com.squareup.okhttp3:logging-interceptor:4.7.2")
|
|
implementation("pub.devrel:easypermissions:3.0.0")
|
|
implementation("com.liulishuo.filedownloader:library:1.7.7")
|
|
|
|
implementation ("com.google.code.gson:gson:2.10.1")
|
|
|
|
|
|
implementation(platform("com.google.firebase:firebase-bom:32.3.1"))
|
|
implementation("com.google.firebase:firebase-analytics-ktx")
|
|
implementation ("com.google.firebase:firebase-crashlytics-ktx")
|
|
|
|
//-----------------------------Unity Ads SDK
|
|
implementation("com.unity3d.ads:unity-ads:4.9.1")
|
|
} |