From bb56fbdd29c23a848ec485165c457130594d305e Mon Sep 17 00:00:00 2001 From: Shreck Ye Date: Tue, 10 Jan 2023 20:56:32 +0800 Subject: [PATCH 1/2] Update the project version to "0.2.0-SNAPSHOT" --- buildSrc/src/main/kotlin/lib-conventions.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/lib-conventions.gradle.kts b/buildSrc/src/main/kotlin/lib-conventions.gradle.kts index 573ab14c..f34ddc6b 100644 --- a/buildSrc/src/main/kotlin/lib-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/lib-conventions.gradle.kts @@ -5,4 +5,4 @@ plugins { } group = "com.huanshankeji" -version = "0.1.0-SNAPSHOT" +version = "0.2.0-SNAPSHOT" From e52df52800ac5e46ae7394485a2b0049dd0a971a Mon Sep 17 00:00:00 2001 From: Shreck Ye Date: Wed, 11 Jan 2023 01:00:12 +0800 Subject: [PATCH 2/2] Add POMs for both subprojects --- README.md | 4 ++-- compose-multiplatform-common/build.gradle.kts | 13 +++++++++++++ compose-multiplatform-material/build.gradle.kts | 13 +++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f1a66bb8..e88706d9 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![Maven Central](https://img.shields.io/maven-central/v/com.huanshankeji/compose-multiplatform-material)](https://search.maven.org/artifact/com.huanshankeji/compose-multiplatform-material) -Some simple Compose Multiplatform wrappers of common components, layouts, and Material Design components for desktop, -Android, and web (mainly based on [KMDC](https://github.com/mpetuska/kmdc)) +Some simple Compose Multiplatform wrappers of common components, layouts, and Material Design components for +desktop/Android and web (mainly based on [KMDC](https://github.com/mpetuska/kmdc)) We try to make the function types of the composable components follow those of the desktop and Android ones in `androidx.compose.foundation` and `androidx.compose.material`, meanwhile being compatible with the Web APIs. However, diff --git a/compose-multiplatform-common/build.gradle.kts b/compose-multiplatform-common/build.gradle.kts index 25e722b7..a7a3c617 100644 --- a/compose-multiplatform-common/build.gradle.kts +++ b/compose-multiplatform-common/build.gradle.kts @@ -1,3 +1,6 @@ +import com.huanshankeji.team.`Shreck Ye` +import com.huanshankeji.team.pomForTeamDefaultOpenSource + plugins { `lib-conventions` } @@ -24,3 +27,13 @@ kotlin { } } } + +publishing.publications.withType { + pomForTeamDefaultOpenSource( + project, + "Compose Multiplatform common wrappers", + "Common wrappers of components (including layouts) and styles for Compose Multiplatform on (desktop/Android and web)" + ) { + `Shreck Ye`() + } +} diff --git a/compose-multiplatform-material/build.gradle.kts b/compose-multiplatform-material/build.gradle.kts index dee2923d..86943a53 100644 --- a/compose-multiplatform-material/build.gradle.kts +++ b/compose-multiplatform-material/build.gradle.kts @@ -1,3 +1,6 @@ +import com.huanshankeji.team.`Shreck Ye` +import com.huanshankeji.team.pomForTeamDefaultOpenSource + plugins { `lib-conventions` } @@ -30,3 +33,13 @@ kotlin { } } } + +publishing.publications.withType { + pomForTeamDefaultOpenSource( + project, + "Compose Multiplatform Material wrappers", + "Material Design component wrappers for Compose Multiplatform (desktop/Android and web)" + ) { + `Shreck Ye`() + } +}