From 679f5e7b5e9c67bf9457dd2afe87868119dd112b Mon Sep 17 00:00:00 2001 From: mramotar Date: Thu, 1 Dec 2022 10:51:36 -0500 Subject: [PATCH] Publish material and kit Signed-off-by: mramotar --- .github/workflows/ios.yml | 9 +++++++++ kit/build.gradle.kts | 6 ++++++ material/build.gradle.kts | 6 ++++++ 3 files changed, 21 insertions(+) create mode 100644 .github/workflows/ios.yml diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml new file mode 100644 index 00000000..9a3650ff --- /dev/null +++ b/.github/workflows/ios.yml @@ -0,0 +1,9 @@ +name: iOS + +on: + push: + branches: [ master ] + +jobs: + Publish: + uses: touchlab/KMMBridgeGithubWorkflow/.github/workflows/faktorybuildbranches.yml@v0.6 \ No newline at end of file diff --git a/kit/build.gradle.kts b/kit/build.gradle.kts index 57e3203b..15dd32c0 100644 --- a/kit/build.gradle.kts +++ b/kit/build.gradle.kts @@ -4,6 +4,7 @@ plugins { kotlin("multiplatform") id("com.android.library") id("org.jetbrains.compose") + id("com.vanniktech.maven.publish.base") } group = "com.dropbox.componentbox" @@ -29,4 +30,9 @@ android { val minSdk = libs.versions.android.min.sdk.get() compileSdk = minSdk.toInt() sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") +} + +mavenPublishing { + publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.S01) + signAllPublications() } \ No newline at end of file diff --git a/material/build.gradle.kts b/material/build.gradle.kts index 713ac737..68880a47 100644 --- a/material/build.gradle.kts +++ b/material/build.gradle.kts @@ -4,6 +4,7 @@ plugins { kotlin("multiplatform") id("com.android.library") id("org.jetbrains.compose") + id("com.vanniktech.maven.publish.base") } group = "com.dropbox.componentbox" @@ -30,4 +31,9 @@ android { val minSdk = libs.versions.android.min.sdk.get() compileSdk = minSdk.toInt() sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") +} + +mavenPublishing { + publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.S01) + signAllPublications() } \ No newline at end of file