2023-07-18 22:55:46 +02:00
|
|
|
plugins {
|
2023-07-18 23:47:42 +02:00
|
|
|
alias(libs.plugins.android.application)
|
|
|
|
alias(libs.plugins.kotlin.android)
|
2024-05-27 07:26:30 +02:00
|
|
|
alias(libs.plugins.jetbrains.compose)
|
|
|
|
alias(libs.plugins.compose.compiler)
|
2024-03-30 09:11:40 +01:00
|
|
|
alias(libs.plugins.detekt)
|
2023-07-18 22:55:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.android"
|
2024-06-20 23:41:57 +02:00
|
|
|
compileSdk =
|
|
|
|
libs.versions.android.targetSdk
|
|
|
|
.get()
|
|
|
|
.toInt()
|
2023-07-18 22:55:46 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId = "com.github.diegoberaldin.raccoonforlemmy.android"
|
2024-06-20 23:41:57 +02:00
|
|
|
minSdk =
|
|
|
|
libs.versions.android.minSdk
|
|
|
|
.get()
|
|
|
|
.toInt()
|
|
|
|
targetSdk =
|
|
|
|
libs.versions.android.targetSdk
|
|
|
|
.get()
|
|
|
|
.toInt()
|
2024-07-30 00:24:02 +02:00
|
|
|
versionCode = 117
|
|
|
|
versionName = "1.13.0-20240730-pre"
|
2023-07-18 22:55:46 +02:00
|
|
|
}
|
2024-05-27 07:26:30 +02:00
|
|
|
base.archivesName = "RaccoonForLemmy"
|
2023-07-18 22:55:46 +02:00
|
|
|
buildFeatures {
|
|
|
|
compose = true
|
2023-09-23 08:42:30 +02:00
|
|
|
buildConfig = true
|
2023-07-18 22:55:46 +02:00
|
|
|
}
|
2023-10-03 21:01:10 +02:00
|
|
|
packaging {
|
2023-07-18 22:55:46 +02:00
|
|
|
resources {
|
|
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
2023-12-23 08:53:24 +01:00
|
|
|
getByName("debug") {
|
2024-05-11 11:57:14 +02:00
|
|
|
resValue("string", "app_name", "kijetesantakalu")
|
2023-12-23 08:53:24 +01:00
|
|
|
applicationIdSuffix = ".dev"
|
|
|
|
}
|
2023-07-18 22:55:46 +02:00
|
|
|
getByName("release") {
|
2024-04-17 08:10:55 +02:00
|
|
|
resValue("string", "app_name", "Raccoon")
|
2023-12-22 11:39:20 +01:00
|
|
|
isMinifyEnabled = true
|
|
|
|
setProguardFiles(
|
|
|
|
listOf(
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
2024-05-15 23:49:48 +02:00
|
|
|
"proguard-rules.pro",
|
|
|
|
),
|
2023-12-22 11:39:20 +01:00
|
|
|
)
|
2023-07-18 22:55:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
2023-09-23 08:42:30 +02:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2023-07-18 22:55:46 +02:00
|
|
|
}
|
|
|
|
kotlinOptions {
|
2023-09-23 08:42:30 +02:00
|
|
|
jvmTarget = "1.8"
|
2023-07-18 22:55:46 +02:00
|
|
|
}
|
2024-03-02 07:43:46 +01:00
|
|
|
splits {
|
|
|
|
abi {
|
|
|
|
isEnable = true
|
|
|
|
reset()
|
|
|
|
include("arm64-v8a", "x86_64")
|
|
|
|
isUniversalApk = true
|
|
|
|
}
|
|
|
|
}
|
2024-03-02 23:47:38 +01:00
|
|
|
dependenciesInfo {
|
|
|
|
includeInApk = false
|
|
|
|
}
|
2023-07-18 22:55:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-07-19 14:24:07 +02:00
|
|
|
implementation(compose.runtime)
|
|
|
|
implementation(compose.foundation)
|
|
|
|
implementation(compose.material3)
|
2023-12-22 11:39:20 +01:00
|
|
|
|
2023-07-18 23:47:42 +02:00
|
|
|
implementation(libs.androidx.activity.compose)
|
2023-11-30 00:19:15 +01:00
|
|
|
implementation(libs.androidx.splashscreen)
|
2023-07-19 08:53:30 +02:00
|
|
|
implementation(libs.koin.core)
|
|
|
|
implementation(libs.koin.android)
|
2023-12-03 23:17:07 +01:00
|
|
|
implementation(libs.coil)
|
|
|
|
implementation(libs.coil.gif)
|
2023-12-23 12:26:38 +01:00
|
|
|
implementation(libs.voyager.navigator)
|
|
|
|
implementation(libs.voyager.tab)
|
2023-07-20 14:24:50 +02:00
|
|
|
|
|
|
|
implementation(projects.shared)
|
2023-12-20 00:45:20 +01:00
|
|
|
implementation(projects.core.utils)
|
|
|
|
implementation(projects.core.navigation)
|
2024-04-08 21:08:57 +02:00
|
|
|
implementation(projects.core.resources)
|
2023-08-02 23:37:12 +02:00
|
|
|
}
|