108 lines
3.5 KiB
Plaintext
108 lines
3.5 KiB
Plaintext
import java.util.Date
|
||
import java.text.SimpleDateFormat
|
||
|
||
plugins {
|
||
id("com.android.application")
|
||
id("org.jetbrains.kotlin.android")
|
||
id("com.google.gms.google-services")
|
||
id("com.google.firebase.crashlytics")
|
||
kotlin("kapt")
|
||
id ("kotlin-android")
|
||
|
||
id("applovin-quality-service")
|
||
|
||
}
|
||
|
||
applovin{
|
||
apiKey = "Ap3tAuLQUbET7lPATOvLHQkgWaKanmaE36A5H6NyBekZRdG0QZU2J0rCbRhpZqz8XffKhS6GRDom9XnQqSlhTA"
|
||
}
|
||
|
||
val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date())
|
||
android {
|
||
namespace = "com.keyboard.bubble.skin.keyboard"
|
||
compileSdk = 34
|
||
|
||
defaultConfig {
|
||
//com.keyboard.bubble.skin
|
||
applicationId = "com.keyboard.bubble.skin"
|
||
minSdk = 23
|
||
targetSdk = 34
|
||
versionCode = 2
|
||
versionName = "1.0.1"
|
||
setProperty(
|
||
"archivesBaseName",
|
||
"Bubble Keyboard_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_17
|
||
targetCompatibility = JavaVersion.VERSION_17
|
||
}
|
||
|
||
kotlinOptions {
|
||
jvmTarget = "17"
|
||
}
|
||
buildFeatures {
|
||
buildConfig = true
|
||
viewBinding = true
|
||
}
|
||
|
||
|
||
}
|
||
|
||
dependencies {
|
||
|
||
implementation("androidx.core:core-ktx:1.9.0")
|
||
implementation("androidx.appcompat:appcompat:1.6.1")
|
||
implementation("com.google.android.material:material:1.10.0")
|
||
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
||
testImplementation("junit:junit:4.13.2")
|
||
androidTestImplementation("androidx.test.ext:junit:1.1.5")
|
||
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
|
||
|
||
|
||
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
||
implementation("com.github.bumptech.glide:glide:4.16.0")
|
||
implementation ("jp.wasabeef:glide-transformations:4.3.0")
|
||
//Glide支持webp动图的库
|
||
implementation("com.github.zjupure:webpdecoder:2.0.4.12.0")
|
||
implementation("com.github.omicronapps:7-Zip-JBinding-4Android:Release-16.02-2.02")
|
||
|
||
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 ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
|
||
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0")
|
||
|
||
// Import the BoM for the Firebase platform
|
||
implementation(platform("com.google.firebase:firebase-bom:33.7.0"))
|
||
|
||
// Add the dependencies for the Crashlytics and Analytics libraries
|
||
// When using the BoM, you don't specify versions in Firebase library dependencies
|
||
implementation("com.google.firebase:firebase-crashlytics")
|
||
implementation("com.google.firebase:firebase-analytics")
|
||
implementation("com.google.firebase:firebase-config")
|
||
|
||
|
||
//--------------------------MAX(Liftoff Monetize(vungle)、Mintegral、Pangle、Unity Ads)
|
||
implementation("com.applovin:applovin-sdk:+")
|
||
implementation("com.applovin.mediation:vungle-adapter:+")
|
||
implementation("com.applovin.mediation:mintegral-adapter:+")
|
||
implementation("com.applovin.mediation:bytedance-adapter:+")
|
||
implementation("com.applovin.mediation:unityads-adapter:+")
|
||
|
||
|
||
|
||
} |