64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
import java.util.Date
|
|
import java.text.SimpleDateFormat
|
|
|
|
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
id ("kotlin-kapt")
|
|
}
|
|
val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date())
|
|
android {
|
|
|
|
|
|
compileSdk = 34
|
|
|
|
namespace = "com.various.funny.sounds.audio"
|
|
|
|
defaultConfig {
|
|
applicationId = "com.various.funny.sounds.audio"
|
|
minSdk = 23
|
|
targetSdk = 34
|
|
versionCode = 1
|
|
versionName = "1.0.0"
|
|
setProperty("archivesBaseName", "Various Funny Sounds_V" + versionName + "(${versionCode})_$timestamp")
|
|
testInstrumentationRunner = "androidx.audio.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.core:core-ktx:1.9.0")
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
implementation("com.google.android.material:material:1.11.0")
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
|
implementation("androidx.legacy:legacy-support-v4:1.0.0")
|
|
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.7.0")
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0")
|
|
testImplementation("junit:junit:4.13.2")
|
|
androidTestImplementation("androidx.audio.ext:junit:1.1.5")
|
|
androidTestImplementation("androidx.audio.espresso:espresso-core:3.5.1")
|
|
implementation ("com.github.bumptech.glide:glide:4.16.0")
|
|
implementation ("androidx.room:room-ktx:2.6.1")
|
|
implementation ("androidx.room:room-runtime:2.6.1")
|
|
kapt ("androidx.room:room-compiler:2.6.1")
|
|
} |