From bf930de05bad63a4dcc45f5710a6a941d54c118d Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Mon, 15 Jul 2024 10:04:30 +0200 Subject: [PATCH] publish Android (#38) --- build-logic/src/main/kotlin/main.kt | 4 +++- settings.gradle.kts | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-logic/src/main/kotlin/main.kt b/build-logic/src/main/kotlin/main.kt index c3cb8f1..600cf2e 100644 --- a/build-logic/src/main/kotlin/main.kt +++ b/build-logic/src/main/kotlin/main.kt @@ -26,7 +26,9 @@ private fun Project.configureKotlin() { private fun Project.configureKMP() { (extensions.getByName("kotlin") as KotlinMultiplatformExtension).apply { applyDefaultHierarchyTemplate() - androidTarget() + androidTarget { + publishLibraryVariants("release") + } iosX64() iosArm64() iosSimulatorArm64() diff --git a/settings.gradle.kts b/settings.gradle.kts index f79ed66..df54fd4 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -21,5 +21,3 @@ include( ":sample-app-android", ":sample-app-shared", ) - -//includeBuild("../librarian")