mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-02 13:56:43 +01:00
84 lines
2.3 KiB
Plaintext
84 lines
2.3 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.android)
|
|
alias(libs.plugins.jetbrains.compose)
|
|
alias(libs.plugins.compose.compiler)
|
|
alias(libs.plugins.detekt)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.android"
|
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
|
defaultConfig {
|
|
applicationId = "com.github.diegoberaldin.raccoonforlemmy.android"
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
targetSdk = libs.versions.android.targetSdk.get().toInt()
|
|
versionCode = 102
|
|
versionName = "1.11.0-20240529-pre"
|
|
}
|
|
base.archivesName = "RaccoonForLemmy"
|
|
buildFeatures {
|
|
compose = true
|
|
buildConfig = true
|
|
}
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
buildTypes {
|
|
getByName("debug") {
|
|
resValue("string", "app_name", "kijetesantakalu")
|
|
applicationIdSuffix = ".dev"
|
|
}
|
|
getByName("release") {
|
|
resValue("string", "app_name", "Raccoon")
|
|
isMinifyEnabled = true
|
|
setProguardFiles(
|
|
listOf(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro",
|
|
),
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
splits {
|
|
abi {
|
|
isEnable = true
|
|
reset()
|
|
include("arm64-v8a", "x86_64")
|
|
isUniversalApk = true
|
|
}
|
|
}
|
|
dependenciesInfo {
|
|
includeInApk = false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material3)
|
|
|
|
implementation(libs.androidx.activity.compose)
|
|
implementation(libs.androidx.splashscreen)
|
|
implementation(libs.koin.core)
|
|
implementation(libs.koin.android)
|
|
implementation(libs.coil)
|
|
implementation(libs.coil.gif)
|
|
implementation(libs.voyager.navigator)
|
|
implementation(libs.voyager.tab)
|
|
|
|
implementation(projects.shared)
|
|
implementation(projects.core.utils)
|
|
implementation(projects.core.navigation)
|
|
implementation(projects.core.resources)
|
|
}
|