2021-09-18 23:37:52 +02:00
|
|
|
plugins {
|
|
|
|
|
id("com.android.library")
|
|
|
|
|
id("kotlin-android")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
compileSdk = sdk.versions.compileSdk.get().toInt()
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdk = sdk.versions.minSdk.get().toInt()
|
|
|
|
|
targetSdk = sdk.versions.targetSdk.get().toInt()
|
|
|
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
2022-01-25 17:55:57 +01:00
|
|
|
signingConfig = signingConfigs.getByName("debug")
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
proguardFiles(
|
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
|
"proguard-rules.pro"
|
|
|
|
|
)
|
|
|
|
|
}
|
2023-01-30 21:29:26 +01:00
|
|
|
create("nightly") {
|
|
|
|
|
initWith(getByName("release"))
|
|
|
|
|
matchingFallbacks += "release"
|
|
|
|
|
}
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = "1.8"
|
2022-08-21 18:35:27 +02:00
|
|
|
freeCompilerArgs = listOf(
|
|
|
|
|
"-opt-in=androidx.compose.ui.ExperimentalComposeUiApi",
|
|
|
|
|
"-opt-in=androidx.compose.foundation.ExperimentalFoundationApi",
|
|
|
|
|
"-opt-in=androidx.compose.ui.text.ExperimentalTextApi",
|
|
|
|
|
"-opt-in=androidx.compose.ui.unit.ExperimentalUnitApi",
|
2023-03-11 00:26:02 +01:00
|
|
|
"-opt-in=androidx.compose.foundation.layout.ExperimentalLayoutApi",
|
2023-02-08 20:51:35 +01:00
|
|
|
"-opt-in=androidx.compose.material.ExperimentalMaterialApi",
|
2022-08-21 18:35:27 +02:00
|
|
|
"-opt-in=androidx.compose.material3.ExperimentalMaterial3Api",
|
|
|
|
|
"-opt-in=androidx.compose.animation.graphics.ExperimentalAnimationGraphicsApi",
|
|
|
|
|
"-opt-in=androidx.compose.animation.ExperimentalAnimationApi",
|
|
|
|
|
"-opt-in=com.google.accompanist.pager.ExperimentalPagerApi",
|
|
|
|
|
)
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildFeatures {
|
|
|
|
|
// Enables Jetpack Compose for this module
|
|
|
|
|
compose = true
|
2021-12-11 14:46:46 +01:00
|
|
|
viewBinding = true
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
composeOptions {
|
2022-07-05 17:30:18 +02:00
|
|
|
kotlinCompilerExtensionVersion = libs.versions.androidx.compose.compiler.get()
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lint {
|
2022-01-26 12:51:16 +01:00
|
|
|
abortOnError = false
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
2022-05-09 19:56:05 +02:00
|
|
|
namespace = "de.mm20.launcher2.ui"
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation(libs.bundles.kotlin)
|
|
|
|
|
|
|
|
|
|
implementation(libs.androidx.compose.runtime)
|
|
|
|
|
implementation(libs.androidx.compose.foundation)
|
|
|
|
|
implementation(libs.androidx.compose.foundationlayout)
|
|
|
|
|
implementation(libs.androidx.compose.ui)
|
|
|
|
|
implementation(libs.androidx.compose.uitooling)
|
2023-02-08 20:51:35 +01:00
|
|
|
implementation(libs.androidx.compose.material)
|
2021-12-04 12:24:16 +01:00
|
|
|
implementation(libs.androidx.compose.material3)
|
2021-09-18 23:37:52 +02:00
|
|
|
implementation(libs.androidx.compose.materialicons)
|
|
|
|
|
implementation(libs.androidx.compose.animation)
|
|
|
|
|
implementation(libs.androidx.compose.animationgraphics)
|
|
|
|
|
|
2021-09-25 19:57:30 +02:00
|
|
|
implementation(libs.androidx.navigation.compose)
|
|
|
|
|
|
2022-02-15 19:29:12 +01:00
|
|
|
implementation(libs.jsoup)
|
2023-04-25 19:30:03 +02:00
|
|
|
implementation(libs.markdown)
|
2022-02-15 19:29:12 +01:00
|
|
|
|
2021-09-18 23:37:52 +02:00
|
|
|
// Legacy dependencies
|
|
|
|
|
implementation(libs.androidx.transition)
|
2021-12-12 13:59:28 +01:00
|
|
|
|
2021-09-18 23:37:52 +02:00
|
|
|
implementation(libs.accompanist.insets)
|
|
|
|
|
implementation(libs.accompanist.systemuicontroller)
|
|
|
|
|
implementation(libs.accompanist.pager)
|
2022-01-08 00:40:49 +01:00
|
|
|
implementation(libs.accompanist.pagerindicators)
|
2021-09-18 23:37:52 +02:00
|
|
|
implementation(libs.accompanist.flowlayout)
|
2021-09-26 21:43:01 +02:00
|
|
|
implementation(libs.accompanist.navigationanimation)
|
2021-09-18 23:37:52 +02:00
|
|
|
|
|
|
|
|
implementation(libs.androidx.core)
|
|
|
|
|
implementation(libs.androidx.activitycompose)
|
|
|
|
|
implementation(libs.bundles.androidx.lifecycle)
|
|
|
|
|
|
|
|
|
|
implementation(libs.androidx.appcompat)
|
|
|
|
|
implementation(libs.androidx.browser)
|
|
|
|
|
|
|
|
|
|
implementation(libs.androidx.lifecycle.viewmodelcompose)
|
2023-02-13 13:35:47 +01:00
|
|
|
implementation(libs.androidx.lifecycle.runtimecompose)
|
2021-09-18 23:37:52 +02:00
|
|
|
|
|
|
|
|
implementation(libs.jsoup)
|
|
|
|
|
|
2021-10-10 12:15:54 +02:00
|
|
|
implementation(libs.koin.android)
|
|
|
|
|
implementation(libs.koin.androidxcompose)
|
|
|
|
|
|
2022-01-20 21:11:23 +01:00
|
|
|
implementation(libs.coil.core)
|
|
|
|
|
implementation(libs.coil.compose)
|
|
|
|
|
|
2022-12-13 17:37:26 +01:00
|
|
|
implementation(project(":libs:material-color-utilities"))
|
|
|
|
|
|
|
|
|
|
implementation(project(":core:base"))
|
|
|
|
|
implementation(project(":core:i18n"))
|
|
|
|
|
implementation(project(":core:compat"))
|
|
|
|
|
implementation(project(":core:ktx"))
|
|
|
|
|
implementation(project(":services:icons"))
|
|
|
|
|
implementation(project(":services:music"))
|
2022-12-21 19:24:32 +01:00
|
|
|
implementation(project(":services:tags"))
|
2022-12-13 17:37:26 +01:00
|
|
|
implementation(project(":data:weather"))
|
|
|
|
|
implementation(project(":data:calendar"))
|
|
|
|
|
implementation(project(":services:search"))
|
|
|
|
|
implementation(project(":core:preferences"))
|
|
|
|
|
implementation(project(":data:applications"))
|
|
|
|
|
implementation(project(":data:appshortcuts"))
|
|
|
|
|
implementation(project(":data:calculator"))
|
|
|
|
|
implementation(project(":data:files"))
|
|
|
|
|
implementation(project(":data:widgets"))
|
2023-04-10 22:44:05 +02:00
|
|
|
implementation(project(":data:searchable"))
|
2023-08-21 22:11:31 +02:00
|
|
|
implementation(project(":data:themes"))
|
2022-12-13 17:37:26 +01:00
|
|
|
implementation(project(":data:wikipedia"))
|
|
|
|
|
implementation(project(":services:badges"))
|
|
|
|
|
implementation(project(":core:crashreporter"))
|
|
|
|
|
implementation(project(":data:notifications"))
|
|
|
|
|
implementation(project(":data:contacts"))
|
|
|
|
|
implementation(project(":core:permissions"))
|
|
|
|
|
implementation(project(":data:websites"))
|
|
|
|
|
implementation(project(":data:unitconverter"))
|
|
|
|
|
implementation(project(":libs:nextcloud"))
|
|
|
|
|
implementation(project(":libs:g-services"))
|
|
|
|
|
implementation(project(":libs:owncloud"))
|
|
|
|
|
implementation(project(":services:accounts"))
|
|
|
|
|
implementation(project(":services:backup"))
|
|
|
|
|
implementation(project(":data:search-actions"))
|
2023-01-17 18:55:30 +01:00
|
|
|
implementation(project(":services:global-actions"))
|
2023-04-10 01:15:27 +02:00
|
|
|
implementation(project(":services:widgets"))
|
2023-04-10 22:44:05 +02:00
|
|
|
implementation(project(":services:favorites"))
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|