77 lines
2.1 KiB
Plaintext
77 lines
2.1 KiB
Plaintext
import java.util.Date
|
|
import java.text.SimpleDateFormat
|
|
plugins {
|
|
alias(libs.plugins.android.application)
|
|
id("org.jetbrains.kotlin.android")
|
|
id("com.google.gms.google-services")
|
|
id("com.google.firebase.crashlytics")
|
|
}
|
|
|
|
val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date())
|
|
android {
|
|
namespace = "com.example.wallpapermagazine"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
//com.wallpaper.magazine
|
|
applicationId = "com.wallpaper.magazine.test"
|
|
minSdk = 23
|
|
targetSdk = 34
|
|
versionCode = 5
|
|
versionName = "1.0.4"
|
|
setProperty(
|
|
"archivesBaseName",
|
|
"Wallpaper MagaZine_HD WallArt" + 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
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.appcompat)
|
|
implementation(libs.material)
|
|
implementation(libs.activity)
|
|
implementation(libs.constraintlayout)
|
|
implementation(libs.filament.android)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.ext.junit)
|
|
androidTestImplementation(libs.espresso.core)
|
|
implementation ("com.github.bumptech.glide:glide:4.16.0")
|
|
implementation ("com.google.code.gson:gson:2.10.1")
|
|
implementation ("androidx.room:room-runtime:2.4.0")
|
|
annotationProcessor ("androidx.room:room-compiler:2.4.0")
|
|
|
|
implementation ("com.squareup.okhttp3:okhttp:3.14.7")
|
|
|
|
//----------------firebase
|
|
implementation(platform("com.google.firebase:firebase-bom:33.1.1"))
|
|
implementation("com.google.firebase:firebase-crashlytics")
|
|
implementation("com.google.firebase:firebase-analytics")
|
|
|
|
|
|
|
|
|
|
} |