From 91a6202e263c5f727a6cf572bde55abb36466c6d Mon Sep 17 00:00:00 2001 From: Carlos Martino Date: Mon, 22 Sep 2025 17:36:09 -0300 Subject: [PATCH] Initial commit --- .editorconfig | 3 ++- .../src/main/kotlin/ComposeMultiplatformConventionPlugin.kt | 3 --- .../main/kotlin/dev/carlosmartino/plugins/KotlinAndroid.kt | 6 ++---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index 96715f8..f306e3c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,7 +6,8 @@ ktlint_standard_max-line-length = 140 ktlint_standard_multiline-expression-wrapping = disabled ktlint_standard_backing-property-naming = disabled ktlint_standard_function-naming = disabled -ktlint_chain_method_rule_force_multiline_when_chain_operator_count_greater_or_equal_than = 5 +ktlint_standard_chain-method-continuation = disabled +ktlint_chain_method_rule_force_multiline_when_chain_operator_count_greater_or_equal_than = 6 [**/build/**] generated_code = true diff --git a/buildlogic/convention/src/main/kotlin/ComposeMultiplatformConventionPlugin.kt b/buildlogic/convention/src/main/kotlin/ComposeMultiplatformConventionPlugin.kt index eaae597..6169e73 100644 --- a/buildlogic/convention/src/main/kotlin/ComposeMultiplatformConventionPlugin.kt +++ b/buildlogic/convention/src/main/kotlin/ComposeMultiplatformConventionPlugin.kt @@ -40,8 +40,5 @@ class ComposeMultiplatformConventionPlugin : Plugin { } } } - - dependencies { - } } } diff --git a/buildlogic/convention/src/main/kotlin/dev/carlosmartino/plugins/KotlinAndroid.kt b/buildlogic/convention/src/main/kotlin/dev/carlosmartino/plugins/KotlinAndroid.kt index b74e2e1..e839f63 100644 --- a/buildlogic/convention/src/main/kotlin/dev/carlosmartino/plugins/KotlinAndroid.kt +++ b/buildlogic/convention/src/main/kotlin/dev/carlosmartino/plugins/KotlinAndroid.kt @@ -11,14 +11,12 @@ internal fun Project.configureKotlinAndroid( val moduleName = path.split(":").drop(2).joinToString(".") namespace = if (moduleName.isNotEmpty()) "dev.carlosmartino.$moduleName" else "dev.carlosmartino.platform" - compileSdk = libs - .findVersion("android.compileSdk") + compileSdk = libs.findVersion("android.compileSdk") .get() .requiredVersion .toInt() defaultConfig { - minSdk = libs - .findVersion("android.minSdk") + minSdk = libs.findVersion("android.minSdk") .get() .requiredVersion .toInt()