import java.util.Date import java.text.SimpleDateFormat plugins { id("com.android.application") id("org.jetbrains.kotlin.android") kotlin("kapt") } val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date()) android { namespace = "com.wall.photography.wallpaper" compileSdk = 34 defaultConfig { applicationId = "com.wall.photography" minSdk = 23 targetSdk = 34 versionCode = 1 versionName = "1.0.0" setProperty("archivesBaseName", "Photography Wallpapers_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 } } dependencies { val paging_version = "3.3.0" implementation("androidx.paging:paging-runtime-ktx:$paging_version") implementation("androidx.core:core-ktx:1.9.0") implementation("androidx.appcompat:appcompat:1.7.0") implementation("com.google.android.material:material:1.12.0") implementation("androidx.constraintlayout:constraintlayout:2.1.4") implementation("androidx.legacy:legacy-support-v4:1.0.0") implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.8.3") implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.3") testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.2.1") androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1") implementation("com.google.code.gson:gson:2.10.1") implementation("com.github.bumptech.glide:glide:4.16.0") kapt("com.github.bumptech.glide:compiler:4.16.0") val room_version = "2.6.1" implementation("androidx.room:room-runtime:$room_version") kapt("androidx.room:room-compiler:$room_version") implementation("androidx.room:room-ktx:$room_version") implementation("androidx.room:room-paging:$room_version") implementation("com.squareup.okhttp3:okhttp:4.11.0") }