69 lines
2.1 KiB
Plaintext
69 lines
2.1 KiB
Plaintext
import java.util.Date
|
|
import java.text.SimpleDateFormat
|
|
|
|
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("io.objectbox")
|
|
kotlin("kapt")
|
|
id("com.google.gms.google-services")
|
|
id("com.google.firebase.crashlytics")
|
|
}
|
|
val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date())
|
|
android {
|
|
namespace = "com.hd.phone.fresh.walls"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "com.hd.phone.mico.wallpaper"
|
|
minSdk = 23
|
|
targetSdk = 34
|
|
versionCode = 2
|
|
versionName = "1.0.1"
|
|
|
|
setProperty("archivesBaseName", "Mico Wallpaper_V" + versionName + "(${versionCode})_$timestamp")
|
|
testInstrumentationRunner = "androidx.live.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
|
|
}
|
|
buildFeatures{
|
|
viewBinding = true
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
implementation("com.google.android.material:material:1.11.0")
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
|
testImplementation("junit:junit:4.13.2")
|
|
// androidTestImplementation("androidx.live.ext:junit:1.1.5")
|
|
// androidTestImplementation("androidx.live.espresso:espresso-core:3.5.1")
|
|
// implementation ("com.google.code.gson:gson:2.10.1")
|
|
implementation ("com.github.bumptech.glide:glide:4.16.0")
|
|
implementation ("jp.wasabeef:glide-transformations:4.3.0") // Glide Transformations
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
|
|
|
|
|
//------------------firebase
|
|
implementation(platform("com.google.firebase:firebase-bom:33.1.1"))
|
|
implementation("com.google.firebase:firebase-crashlytics")
|
|
implementation("com.google.firebase:firebase-analytics")
|
|
implementation("com.google.firebase:firebase-config")
|
|
|
|
} |