android_multiviewwer/app/build.gradle.kts

75 lines
2.2 KiB
Plaintext
Raw Normal View History

2024-08-12 17:02:52 +09:00
plugins {
id ("com.android.application")
id ("kotlin-android")
}
android {
namespace = "rasel.lunar.launcher"
compileSdk = 34
defaultConfig {
applicationId = "rasel.lunar.launcher"
minSdk = 26
targetSdk = 34
versionCode = 38
versionName = "2.8.2"
}
buildTypes {
getByName("debug") {
isMinifyEnabled = false
isShrinkResources = false
isDebuggable = true
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
resValue ("string", "app_name", "Lunar Launcher Debug")
}
getByName("release") {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles (getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
resValue ("string", "app_name", "Lunar Launcher")
}
}
applicationVariants.all {
if (buildType.name == "release") {
outputs.all {
val output = this as? com.android.build.gradle.internal.api.BaseVariantOutputImpl
if (output?.outputFileName?.endsWith(".apk") == true) {
output.outputFileName = "${defaultConfig.applicationId}_v${defaultConfig.versionName}.apk"
}
}
}
}
buildFeatures {
viewBinding = true
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
val kotlinVersion: String? by extra
implementation ("androidx.appcompat:appcompat:1.6.1")
implementation ("androidx.biometric:biometric-ktx:1.2.0-alpha05")
implementation ("androidx.browser:browser:1.8.0")
implementation ("androidx.core:core-ktx:1.12.0")
implementation ("androidx.core:core-splashscreen:1.0.1")
implementation ("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
implementation ("com.google.android.material:material:1.10.0")
implementation (kotlin("stdlib", version = kotlinVersion))
implementation ("com.github.cachapa:ExpandableLayout:2.9.2")
2024-08-13 18:22:27 +09:00
implementation ("com.squareup.picasso:picasso:2.8")
2024-08-12 17:02:52 +09:00
}