2021-09-18 23:37:52 +02:00
|
|
|
plugins {
|
2023-10-05 21:51:48 +02:00
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
|
alias(libs.plugins.kotlin.android)
|
|
|
|
|
alias(libs.plugins.kotlin.plugin.serialization)
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
2023-10-05 21:51:48 +02:00
|
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
2021-09-18 23:37:52 +02:00
|
|
|
|
|
|
|
|
defaultConfig {
|
2023-10-05 21:51:48 +02:00
|
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
|
|
|
|
|
2021-09-18 23:37:52 +02:00
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
2025-07-15 16:09:50 +09:00
|
|
|
//consumerProguardFiles("consumer-rules.pro")
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
2025-07-15 16:09:50 +09:00
|
|
|
isMinifyEnabled = false
|
|
|
|
|
isShrinkResources = false
|
|
|
|
|
// proguardFiles(
|
|
|
|
|
// getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
|
// "proguard-rules.pro"
|
|
|
|
|
// )
|
|
|
|
|
}
|
|
|
|
|
debug {
|
|
|
|
|
isMinifyEnabled = false
|
|
|
|
|
isShrinkResources = false
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
|
}
|
2022-05-09 19:56:05 +02:00
|
|
|
namespace = "de.mm20.launcher2.widgets"
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation(libs.bundles.kotlin)
|
|
|
|
|
implementation(libs.androidx.core)
|
|
|
|
|
implementation(libs.androidx.appcompat)
|
|
|
|
|
|
|
|
|
|
implementation(libs.bundles.androidx.lifecycle)
|
|
|
|
|
|
2023-04-10 01:15:27 +02:00
|
|
|
implementation(libs.kotlinx.serialization.json)
|
|
|
|
|
|
2021-10-10 12:15:54 +02:00
|
|
|
implementation(libs.koin.android)
|
|
|
|
|
|
2022-12-13 17:37:26 +01:00
|
|
|
implementation(project(":data:weather"))
|
|
|
|
|
implementation(project(":data:calendar"))
|
|
|
|
|
implementation(project(":services:music"))
|
|
|
|
|
implementation(project(":core:ktx"))
|
|
|
|
|
implementation(project(":core:base"))
|
|
|
|
|
implementation(project(":core:preferences"))
|
2023-10-28 14:20:36 +02:00
|
|
|
implementation(project(":data:database"))
|
2022-12-13 17:37:26 +01:00
|
|
|
implementation(project(":core:crashreporter"))
|
2021-09-18 23:37:52 +02:00
|
|
|
|
|
|
|
|
}
|