71 lines
1.9 KiB
Plaintext
71 lines
1.9 KiB
Plaintext
import java.util.Date
|
|
import java.text.SimpleDateFormat
|
|
|
|
val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date())
|
|
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("kotlin-kapt")
|
|
id("com.google.gms.google-services")
|
|
id("com.google.firebase.crashlytics")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.tool.app.protectorpro"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
//com.tool.app.protectorpro
|
|
applicationId = "com.tool.app.protectorpro"
|
|
minSdk = 23
|
|
targetSdk = 34
|
|
versionCode = 4
|
|
versionName = "1.0.3"
|
|
setProperty(
|
|
"archivesBaseName",
|
|
"AppLocker pro_V" + versionName + "(${versionCode})_$timestamp"
|
|
)
|
|
testInstrumentationRunner = "androidx.protectorpro.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("de.hdodenhof:circleimageview:3.1.0")
|
|
|
|
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.room:room-ktx:2.6.1")
|
|
implementation("androidx.room:room-runtime:2.6.1")
|
|
kapt("androidx.room:room-compiler:2.6.1")
|
|
|
|
|
|
|
|
implementation(platform("com.google.firebase:firebase-bom:33.1.1"))
|
|
implementation("com.google.firebase:firebase-crashlytics")
|
|
implementation("com.google.firebase:firebase-analytics")
|
|
|
|
|
|
|
|
} |