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-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-10-02 13:55:32 +02:00
|
|
|
versionCode = 23
|
|
|
|
versionName = "1.0.0-beta13"
|
2023-09-21 23:30:42 +02:00
|
|
|
|
|
|
|
buildConfigField(
|
|
|
|
"String",
|
|
|
|
"CRASH_REPORT_EMAIL",
|
2023-09-26 18:39:49 +02:00
|
|
|
"\"diego.beraldin+raccoon4lemmy@gmail.com\""
|
2023-09-21 23:30:42 +02:00
|
|
|
)
|
|
|
|
buildConfigField("String", "CRASH_REPORT_SUBJECT", "\"Crash report\"")
|
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
|
|
|
}
|
|
|
|
packagingOptions {
|
|
|
|
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-07-19 08:53:30 +02:00
|
|
|
implementation(libs.koin.core)
|
|
|
|
implementation(libs.koin.android)
|
2023-07-20 14:24:50 +02:00
|
|
|
|
2023-09-21 23:30:42 +02:00
|
|
|
implementation(libs.acra.mail)
|
|
|
|
implementation(libs.acra.notification)
|
|
|
|
|
2023-07-20 14:24:50 +02:00
|
|
|
implementation(projects.shared)
|
2023-09-06 08:22:21 +02:00
|
|
|
implementation(projects.coreUtils)
|
2023-08-02 23:37:12 +02:00
|
|
|
}
|