75 lines
2.2 KiB
Groovy
75 lines
2.2 KiB
Groovy
|
|
import java.util.Date
|
|
import java.text.SimpleDateFormat
|
|
|
|
plugins {
|
|
alias(libs.plugins.androidApplication)
|
|
alias(libs.plugins.jetbrainsKotlinAndroid)
|
|
id("kotlin-kapt")
|
|
id("com.google.gms.google-services")
|
|
id("com.google.firebase.crashlytics")
|
|
|
|
}
|
|
String timestamp =new SimpleDateFormat("MM_dd_HH_mm").format(new Date())
|
|
android {
|
|
namespace 'com.kitobochi.softapp.timberlock'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId "com.applock.privacy.defender"
|
|
minSdk 22
|
|
targetSdk 34
|
|
versionCode 3
|
|
versionName "1.2"
|
|
|
|
setProperty("archivesBaseName", "AppLock Defender_V" + versionName + "(${versionCode})_$timestamp")
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
debug {
|
|
minifyEnabled 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.androidx.core.ktx
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.material
|
|
implementation libs.androidx.activity
|
|
implementation libs.androidx.constraintlayout
|
|
testImplementation libs.junit
|
|
androidTestImplementation libs.androidx.junit
|
|
androidTestImplementation libs.androidx.espresso.core
|
|
|
|
kapt 'androidx.room:room-compiler:2.6.1'
|
|
implementation 'androidx.room:room-runtime:2.6.1'
|
|
implementation("androidx.room:room-ktx:2.6.1")
|
|
|
|
implementation(platform("com.google.firebase:firebase-bom:32.3.1"))
|
|
implementation("com.google.firebase:firebase-analytics-ktx")
|
|
implementation("com.google.firebase:firebase-crashlytics-ktx")
|
|
|
|
//---------------------------------Mintegral SDK
|
|
implementation ("com.mbridge.msdk.oversea:newinterstitial:16.7.71")
|
|
implementation ("com.mbridge.msdk.oversea:mbbid:16.7.61")
|
|
|
|
} |