2023-10-05 08:28:29 +02:00
|
|
|
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName
|
|
|
|
|
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)
|
2023-07-19 14:24:07 +02:00
|
|
|
alias(libs.plugins.compose)
|
2023-11-12 22:26:19 +01:00
|
|
|
alias(libs.plugins.crashlytics)
|
|
|
|
alias(libs.plugins.gms)
|
2023-07-18 22:55:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.android"
|
2023-09-23 08:42:30 +02:00
|
|
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
2023-07-18 22:55:46 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId = "com.github.diegoberaldin.raccoonforlemmy.android"
|
2023-09-23 08:42:30 +02:00
|
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
|
|
targetSdk = libs.versions.android.targetSdk.get().toInt()
|
2023-12-04 19:45:06 +01:00
|
|
|
versionCode = 46
|
|
|
|
versionName = "1.0.0-RC15"
|
2023-10-05 08:28:29 +02:00
|
|
|
archivesName.set("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
|
|
|
}
|
|
|
|
composeOptions {
|
2023-09-23 08:42:30 +02:00
|
|
|
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
|
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 {
|
|
|
|
getByName("release") {
|
|
|
|
isMinifyEnabled = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-07-19 14:24:07 +02:00
|
|
|
implementation(compose.runtime)
|
|
|
|
implementation(compose.foundation)
|
|
|
|
implementation(compose.material3)
|
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-07-20 14:24:50 +02:00
|
|
|
|
|
|
|
implementation(projects.shared)
|
2023-09-06 08:22:21 +02:00
|
|
|
implementation(projects.coreUtils)
|
2023-12-04 19:36:34 +01:00
|
|
|
implementation(projects.coreNavigation)
|
2023-08-02 23:37:12 +02:00
|
|
|
}
|