From 7935372e2fe4f32141a05b5be00f90acb87ab34b Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Tue, 2 Jan 2024 11:07:59 +0800 Subject: [PATCH] chore: merge to new build configs & dependencies --- flexiui-core/build.gradle.kts | 5 ++++- flexiui-resources/build.gradle.kts | 5 ++++- samples/shared/build.gradle.kts | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/flexiui-core/build.gradle.kts b/flexiui-core/build.gradle.kts index 78ef9c2..6633faf 100644 --- a/flexiui-core/build.gradle.kts +++ b/flexiui-core/build.gradle.kts @@ -7,7 +7,9 @@ plugins { group = property.project.groupName kotlin { - androidTarget() + androidTarget { + publishLibraryVariants("release") + } jvm("desktop") listOf( iosX64(), @@ -34,6 +36,7 @@ kotlin { // TODO: We need to remove this and replace with "material-ripple" implementation(compose.material) implementation(projects.flexiuiResources) + api(com.highcapable.betterandroid.compose.extension) } } val androidMain by getting { diff --git a/flexiui-resources/build.gradle.kts b/flexiui-resources/build.gradle.kts index 0df2d65..6635b55 100644 --- a/flexiui-resources/build.gradle.kts +++ b/flexiui-resources/build.gradle.kts @@ -7,7 +7,9 @@ plugins { group = property.project.groupName kotlin { - androidTarget() + androidTarget { + publishLibraryVariants("release") + } jvm("desktop") listOf( iosX64(), @@ -25,6 +27,7 @@ kotlin { dependencies { implementation(compose.runtime) implementation(compose.foundation) + implementation(com.highcapable.betterandroid.compose.extension) } } val androidMain by getting diff --git a/samples/shared/build.gradle.kts b/samples/shared/build.gradle.kts index 7de19a0..313f04c 100644 --- a/samples/shared/build.gradle.kts +++ b/samples/shared/build.gradle.kts @@ -25,6 +25,7 @@ kotlin { dependencies { implementation(compose.runtime) implementation(compose.foundation) + api(com.highcapable.betterandroid.compose.multiplatform) api(projects.flexiuiCore) } }