From 26d672dc662915ed95af8fb7c6c1f80251af834f Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Mon, 26 Jan 2026 23:27:57 +0300 Subject: [PATCH 01/20] chore(common): update gitignore --- mobile/kmp/.gitignore | 1 + .../xcschemes/iosApp.xcscheme | 66 ------------------- 2 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 mobile/kmp/iosApp/iosApp.xcodeproj/xcuserdata/comfrt1k.xcuserdatad/xcschemes/iosApp.xcscheme diff --git a/mobile/kmp/.gitignore b/mobile/kmp/.gitignore index 199ca3c8b..a8551f1c6 100644 --- a/mobile/kmp/.gitignore +++ b/mobile/kmp/.gitignore @@ -8,3 +8,4 @@ iosApp/Pods iosApp/GoogleService-Info.plist xcuserdata/ *.xcuserstate +**/*.xcodeproj/xcuserdata/ diff --git a/mobile/kmp/iosApp/iosApp.xcodeproj/xcuserdata/comfrt1k.xcuserdatad/xcschemes/iosApp.xcscheme b/mobile/kmp/iosApp/iosApp.xcodeproj/xcuserdata/comfrt1k.xcuserdatad/xcschemes/iosApp.xcscheme deleted file mode 100644 index f597e5fc8..000000000 --- a/mobile/kmp/iosApp/iosApp.xcodeproj/xcuserdata/comfrt1k.xcuserdatad/xcschemes/iosApp.xcscheme +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - From 8c4e4b71933169b9e483dbb7faf7773c09a6a6c4 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Mon, 26 Jan 2026 23:39:53 +0300 Subject: [PATCH 02/20] feat(common): publishing gradle --- mobile/kmp/ui/build.gradle.kts | 3 ++ mobile/kmp/ui/publishing.gradle.kts | 51 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 mobile/kmp/ui/publishing.gradle.kts diff --git a/mobile/kmp/ui/build.gradle.kts b/mobile/kmp/ui/build.gradle.kts index 1b9cbf43f..014f18baa 100644 --- a/mobile/kmp/ui/build.gradle.kts +++ b/mobile/kmp/ui/build.gradle.kts @@ -5,6 +5,7 @@ plugins { alias(libs.plugins.androidLibrary) alias(libs.plugins.composeMultiplatform) alias(libs.plugins.composeCompiler) + `maven-publish` } group = "com.atls.hyperion" @@ -83,3 +84,5 @@ android { targetCompatibility = JavaVersion.toVersion(javaTargetValue) } } + +apply(from = "publishing.gradle.kts") diff --git a/mobile/kmp/ui/publishing.gradle.kts b/mobile/kmp/ui/publishing.gradle.kts new file mode 100644 index 000000000..bb3e2d58b --- /dev/null +++ b/mobile/kmp/ui/publishing.gradle.kts @@ -0,0 +1,51 @@ +import java.net.URI +import org.gradle.api.publish.maven.MavenPublication +import org.gradle.api.publish.PublishingExtension + +configure { + publications { + named("kotlinMultiplatform") { + groupId = "atls" + artifactId = "hyperion" + version = project.version.toString() + + pom { + name.set("Hyperion") + description.set("Highly ordered User Interface Kit") + url.set("https://github.com/atls/hyperion") + + licenses { + license { + name.set("The Apache License, Version 2.0") + url.set("https://www.apache.org/licenses/LICENSE-2.0.txt") + } + } + + developers { + developer { + id.set("atls") + name.set("Atlantis Team") + email.set("me@atls.team") + } + } + + scm { + connection.set("scm:git:git://github.com/atls/hyperion.git") + developerConnection.set("scm:git:ssh://github.com:atls/hyperion.git") + url.set("https://github.com/atls/hyperion/tree/master/mobile/kmp") + } + } + } + } + + repositories { + maven { + name = "GitHubPackages" + url = URI.create("https://maven.pkg.github.com/atls/hyperion") + credentials { + username = System.getenv("GITHUB_ACTOR") ?: project.findProperty("gpr.user") as String? + password = System.getenv("GITHUB_TOKEN") ?: project.findProperty("gpr.key") as String? + } + } + } +} From 0429eb055112a553ddb19e7079f6631d750e2331 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Mon, 26 Jan 2026 23:40:07 +0300 Subject: [PATCH 03/20] feat(common): publishing workflow --- .github/workflows/publish-kmp.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/publish-kmp.yaml diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml new file mode 100644 index 000000000..2af34f1dd --- /dev/null +++ b/.github/workflows/publish-kmp.yaml @@ -0,0 +1,20 @@ +name: Publish KMP Library + +on: + pull_request: + types: [closed] + branches: [master] + paths: + - 'mobile/kmp/**' + +jobs: + publish: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - uses: atls/shared/.github/actions/publish/kmp@master + with: + appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} + appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} + workingDirectory: mobile/kmp + gradleArguments: :ui:publishToGitHubPackages From d2bb112e2960a887102edd669d6e3a1357383962 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Mon, 26 Jan 2026 23:46:07 +0300 Subject: [PATCH 04/20] chore(github): test publish action --- .github/workflows/publish-kmp.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 2af34f1dd..81036f0b8 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -3,7 +3,7 @@ name: Publish KMP Library on: pull_request: types: [closed] - branches: [master] + branches: [feat/test-kmp-publish] paths: - 'mobile/kmp/**' @@ -12,7 +12,7 @@ jobs: if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - - uses: atls/shared/.github/actions/publish/kmp@master + - uses: atls/shared/.github/actions/publish/kmp@feat/kmp-lib-publish with: appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} From e5f456c80c6cb04ce27d9e6b2242d30bf1d1275a Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Mon, 26 Jan 2026 23:50:05 +0300 Subject: [PATCH 05/20] chore(github): test publish action --- .github/workflows/publish-kmp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 81036f0b8..cc10a8553 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -18,3 +18,4 @@ jobs: appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} workingDirectory: mobile/kmp gradleArguments: :ui:publishToGitHubPackages + From 70f8fd30080ed4c50544493d0ad905b622dced97 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 00:03:51 +0300 Subject: [PATCH 06/20] chore(kmp): optimize imports --- .github/workflows/publish-kmp.yaml | 1 - mobile/kmp/ui/publishing.gradle.kts | 4 ++-- .../atls/hyperion/ui/theme/typography/NunitoSansFontFamily.kt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index cc10a8553..81036f0b8 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -18,4 +18,3 @@ jobs: appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} workingDirectory: mobile/kmp gradleArguments: :ui:publishToGitHubPackages - diff --git a/mobile/kmp/ui/publishing.gradle.kts b/mobile/kmp/ui/publishing.gradle.kts index bb3e2d58b..04a627de9 100644 --- a/mobile/kmp/ui/publishing.gradle.kts +++ b/mobile/kmp/ui/publishing.gradle.kts @@ -1,6 +1,6 @@ -import java.net.URI -import org.gradle.api.publish.maven.MavenPublication import org.gradle.api.publish.PublishingExtension +import org.gradle.api.publish.maven.MavenPublication +import java.net.URI configure { publications { diff --git a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/theme/typography/NunitoSansFontFamily.kt b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/theme/typography/NunitoSansFontFamily.kt index f05979883..7c9dd7cb4 100644 --- a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/theme/typography/NunitoSansFontFamily.kt +++ b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/theme/typography/NunitoSansFontFamily.kt @@ -7,8 +7,8 @@ import com.atls.hyperion.ui.generated.resources.NunitoSans_300 import com.atls.hyperion.ui.generated.resources.NunitoSans_400 import com.atls.hyperion.ui.generated.resources.NunitoSans_500 import com.atls.hyperion.ui.generated.resources.NunitoSans_600 -import org.jetbrains.compose.resources.Font import com.atls.hyperion.ui.generated.resources.Res +import org.jetbrains.compose.resources.Font @Composable fun NunitoSansFontFamily() = FontFamily( From 4acb64ec4546b6e842d129e2e9e598d44ae3777c Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 00:25:48 +0300 Subject: [PATCH 07/20] fix(kmp): publish task --- .github/workflows/publish-kmp.yaml | 2 +- .../kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 81036f0b8..400a184e0 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -17,4 +17,4 @@ jobs: appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} workingDirectory: mobile/kmp - gradleArguments: :ui:publishToGitHubPackages + gradleArguments: :ui:publishKotlinMultiplatformPublicationToGitHubPackagesRepository diff --git a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt index 82985fcea..706fe37cf 100644 --- a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt +++ b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt @@ -34,3 +34,4 @@ fun AvatarLayout( content() } } + From 03f86bbce40c5d174244c5fa321423bcb1714776 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 00:38:38 +0300 Subject: [PATCH 08/20] fix(kmp): checkout correct branch --- .github/workflows/publish-kmp.yaml | 1 + .../kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 400a184e0..73e3618a5 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -17,4 +17,5 @@ jobs: appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} workingDirectory: mobile/kmp + ref: ${{ github.sha }} gradleArguments: :ui:publishKotlinMultiplatformPublicationToGitHubPackagesRepository diff --git a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt index 706fe37cf..82985fcea 100644 --- a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt +++ b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/avatar/Layout.kt @@ -34,4 +34,3 @@ fun AvatarLayout( content() } } - From 291f8f2ac0c18b96a1ba938cfd21925e735ba33d Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 00:49:53 +0300 Subject: [PATCH 09/20] fix(kmp): publish token --- .github/workflows/publish-kmp.yaml | 1 + .../kotlin/com/atls/hyperion/ui/components/button/Layout.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 73e3618a5..feba72106 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -17,5 +17,6 @@ jobs: appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} workingDirectory: mobile/kmp + githubToken: ${{ secrets.GITHUB_TOKEN }} ref: ${{ github.sha }} gradleArguments: :ui:publishKotlinMultiplatformPublicationToGitHubPackagesRepository diff --git a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt index 3077aaab7..41fa737b8 100644 --- a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt +++ b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt @@ -106,3 +106,4 @@ fun ButtonLayout( } } } + From 5c1e1c6a8816d2cb38488ce9c7dc6e248256bd0a Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 01:08:44 +0300 Subject: [PATCH 10/20] fix(kmp): change publish runner to mac os --- .github/workflows/publish-kmp.yaml | 2 +- .../kotlin/com/atls/hyperion/ui/components/button/Layout.kt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index feba72106..9b72c94be 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -10,7 +10,7 @@ on: jobs: publish: if: github.event.pull_request.merged == true - runs-on: ubuntu-latest + runs-on: macos-15 steps: - uses: atls/shared/.github/actions/publish/kmp@feat/kmp-lib-publish with: diff --git a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt index 41fa737b8..3077aaab7 100644 --- a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt +++ b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt @@ -106,4 +106,3 @@ fun ButtonLayout( } } } - From 7f377f65d232527e5dd11561660efa11d2b5cbc7 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 01:09:56 +0300 Subject: [PATCH 11/20] fix(kmp): group id --- mobile/kmp/ui/publishing.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/kmp/ui/publishing.gradle.kts b/mobile/kmp/ui/publishing.gradle.kts index 04a627de9..a2466e758 100644 --- a/mobile/kmp/ui/publishing.gradle.kts +++ b/mobile/kmp/ui/publishing.gradle.kts @@ -5,7 +5,7 @@ import java.net.URI configure { publications { named("kotlinMultiplatform") { - groupId = "atls" + groupId = project.group.toString() artifactId = "hyperion" version = project.version.toString() From 36114d40e457e2556ad655657f12fb21c31f1d2d Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 02:46:13 +0300 Subject: [PATCH 12/20] fix(kmp): storybook publishing --- mobile/kmp/storybook/build.gradle.kts | 20 ++++++++++-- mobile/kmp/ui/build.gradle.kts | 15 ++++++++- mobile/kmp/ui/publishing.gradle.kts | 47 +++++++++++++-------------- 3 files changed, 54 insertions(+), 28 deletions(-) diff --git a/mobile/kmp/storybook/build.gradle.kts b/mobile/kmp/storybook/build.gradle.kts index f77186dec..645030470 100644 --- a/mobile/kmp/storybook/build.gradle.kts +++ b/mobile/kmp/storybook/build.gradle.kts @@ -5,18 +5,26 @@ plugins { alias(libs.plugins.androidLibrary) alias(libs.plugins.composeMultiplatform) alias(libs.plugins.composeCompiler) + `maven-publish` + base } group = "com.atls.hyperion" version = "0.1.0" +description = "KMP Storybook" + +base { + archivesName.set("storybook") +} kotlin { androidTarget { + publishLibraryVariants("release") compilerOptions { jvmTarget.set(JvmTarget.JVM_21) } } - + listOf( iosX64(), iosArm64(), @@ -27,7 +35,7 @@ kotlin { isStatic = true } } - + sourceSets { commonMain.dependencies { implementation(compose.runtime) @@ -62,4 +70,12 @@ android { sourceCompatibility = JavaVersion.toVersion(javaTargetValue) targetCompatibility = JavaVersion.toVersion(javaTargetValue) } + + publishing { + singleVariant("release") { + withSourcesJar() + } + } } + +apply(from = "../ui/publishing.gradle.kts") diff --git a/mobile/kmp/ui/build.gradle.kts b/mobile/kmp/ui/build.gradle.kts index 014f18baa..6f913d2a9 100644 --- a/mobile/kmp/ui/build.gradle.kts +++ b/mobile/kmp/ui/build.gradle.kts @@ -6,13 +6,21 @@ plugins { alias(libs.plugins.composeMultiplatform) alias(libs.plugins.composeCompiler) `maven-publish` + base } group = "com.atls.hyperion" version = "0.4.0" +description = "Highly ordered User Interface Kit" + +base { + archivesName.set("hyperion") +} kotlin { androidTarget { + publishLibraryVariants("release") + compilerOptions { jvmTarget.set(JvmTarget.JVM_21) } @@ -31,7 +39,7 @@ kotlin { sourceSets { commonMain.dependencies { - api(project(":storybook")) + implementation(project(":storybook")) implementation(compose.runtime) implementation(compose.foundation) implementation(compose.material) @@ -83,6 +91,11 @@ android { sourceCompatibility = JavaVersion.toVersion(javaTargetValue) targetCompatibility = JavaVersion.toVersion(javaTargetValue) } + publishing { + singleVariant("release") { + withSourcesJar() + } + } } apply(from = "publishing.gradle.kts") diff --git a/mobile/kmp/ui/publishing.gradle.kts b/mobile/kmp/ui/publishing.gradle.kts index a2466e758..d832e0bb7 100644 --- a/mobile/kmp/ui/publishing.gradle.kts +++ b/mobile/kmp/ui/publishing.gradle.kts @@ -3,37 +3,34 @@ import org.gradle.api.publish.maven.MavenPublication import java.net.URI configure { - publications { - named("kotlinMultiplatform") { - groupId = project.group.toString() - artifactId = "hyperion" - version = project.version.toString() + publications.withType().configureEach { + groupId = project.group.toString() + version = project.version.toString() - pom { - name.set("Hyperion") - description.set("Highly ordered User Interface Kit") - url.set("https://github.com/atls/hyperion") + pom { + name.set(project.name) + description.set(project.description ?: "") + url.set("https://github.com/atls/hyperion") - licenses { - license { - name.set("The Apache License, Version 2.0") - url.set("https://www.apache.org/licenses/LICENSE-2.0.txt") - } + licenses { + license { + name.set("The Apache License, Version 2.0") + url.set("https://www.apache.org/licenses/LICENSE-2.0.txt") } + } - developers { - developer { - id.set("atls") - name.set("Atlantis Team") - email.set("me@atls.team") - } + developers { + developer { + id.set("atls") + name.set("Atlantis Team") + email.set("me@atls.team") } + } - scm { - connection.set("scm:git:git://github.com/atls/hyperion.git") - developerConnection.set("scm:git:ssh://github.com:atls/hyperion.git") - url.set("https://github.com/atls/hyperion/tree/master/mobile/kmp") - } + scm { + connection.set("scm:git:git://github.com/atls/hyperion.git") + developerConnection.set("scm:git:ssh://github.com:atls/hyperion.git") + url.set("https://github.com/atls/hyperion/tree/master/mobile/kmp") } } } From b3e939ddbd158147a6b0027694efa961956022aa Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 02:57:09 +0300 Subject: [PATCH 13/20] fix(kmp): storybook publish task --- .github/workflows/publish-kmp.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 9b72c94be..3846d3f5f 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -19,4 +19,6 @@ jobs: workingDirectory: mobile/kmp githubToken: ${{ secrets.GITHUB_TOKEN }} ref: ${{ github.sha }} - gradleArguments: :ui:publishKotlinMultiplatformPublicationToGitHubPackagesRepository + gradleArguments: > + :storybook:publishKotlinMultiplatformPublicationToGitHubPackagesRepository + :ui:publishKotlinMultiplatformPublicationToGitHubPackagesRepository From ece5ff220885a9aeefa5901a9aadc4b86047df84 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 02:57:53 +0300 Subject: [PATCH 14/20] chore(kmp): empty line --- .../kotlin/com/atls/hyperion/ui/components/button/Button.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Button.kt b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Button.kt index 748afb949..298745ee8 100644 --- a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Button.kt +++ b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Button.kt @@ -35,3 +35,4 @@ fun Button( ) } } + From d9220cd6b1eb9c44d58656f714cfa5111b64f682 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 03:34:33 +0300 Subject: [PATCH 15/20] fix(kmp): publishing task --- .github/workflows/publish-kmp.yaml | 4 ++-- .../kotlin/com/atls/hyperion/ui/components/button/Button.kt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 3846d3f5f..43386506d 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -20,5 +20,5 @@ jobs: githubToken: ${{ secrets.GITHUB_TOKEN }} ref: ${{ github.sha }} gradleArguments: > - :storybook:publishKotlinMultiplatformPublicationToGitHubPackagesRepository - :ui:publishKotlinMultiplatformPublicationToGitHubPackagesRepository + :storybook:publishAllPublicationsToGitHubPackagesRepository + :ui:publishAllPublicationsToGitHubPackagesRepository diff --git a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Button.kt b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Button.kt index 298745ee8..748afb949 100644 --- a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Button.kt +++ b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Button.kt @@ -35,4 +35,3 @@ fun Button( ) } } - From 5351dd2174909acdf030d4aabe8ee099c5bffb9b Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 03:52:50 +0300 Subject: [PATCH 16/20] chore(kmp): update versions --- mobile/kmp/storybook/build.gradle.kts | 2 +- mobile/kmp/ui/build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/kmp/storybook/build.gradle.kts b/mobile/kmp/storybook/build.gradle.kts index 645030470..2bd59b5dc 100644 --- a/mobile/kmp/storybook/build.gradle.kts +++ b/mobile/kmp/storybook/build.gradle.kts @@ -10,7 +10,7 @@ plugins { } group = "com.atls.hyperion" -version = "0.1.0" +version = "0.1.1" description = "KMP Storybook" base { diff --git a/mobile/kmp/ui/build.gradle.kts b/mobile/kmp/ui/build.gradle.kts index 6f913d2a9..cc39e260d 100644 --- a/mobile/kmp/ui/build.gradle.kts +++ b/mobile/kmp/ui/build.gradle.kts @@ -10,7 +10,7 @@ plugins { } group = "com.atls.hyperion" -version = "0.4.0" +version = "0.4.1" description = "Highly ordered User Interface Kit" base { From f55c04080a7f24981f4b278145e908c93f875512 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 04:14:44 +0300 Subject: [PATCH 17/20] chore(kmp): remove test branches from publish workflow --- .github/workflows/publish-kmp.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 43386506d..4cec5fd34 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -3,7 +3,7 @@ name: Publish KMP Library on: pull_request: types: [closed] - branches: [feat/test-kmp-publish] + branches: [master] paths: - 'mobile/kmp/**' @@ -12,7 +12,7 @@ jobs: if: github.event.pull_request.merged == true runs-on: macos-15 steps: - - uses: atls/shared/.github/actions/publish/kmp@feat/kmp-lib-publish + - uses: atls/shared/.github/actions/publish/kmp@master with: appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} From 796e08bdcdbd7d59653c06f40ed39e10d126aa81 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 16:16:44 +0300 Subject: [PATCH 18/20] chore(kmp): remove unused inputs --- .github/workflows/publish-kmp.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index 4cec5fd34..b3fc217e3 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -14,11 +14,8 @@ jobs: steps: - uses: atls/shared/.github/actions/publish/kmp@master with: - appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} - appSecret: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} workingDirectory: mobile/kmp githubToken: ${{ secrets.GITHUB_TOKEN }} - ref: ${{ github.sha }} gradleArguments: > :storybook:publishAllPublicationsToGitHubPackagesRepository :ui:publishAllPublicationsToGitHubPackagesRepository From ca5ec2714a6c3795fbf87408f48b4da100ab3988 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 16:16:56 +0300 Subject: [PATCH 19/20] feat(kmp): permissions --- .github/workflows/publish-kmp.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-kmp.yaml b/.github/workflows/publish-kmp.yaml index b3fc217e3..1cbf46e30 100644 --- a/.github/workflows/publish-kmp.yaml +++ b/.github/workflows/publish-kmp.yaml @@ -7,6 +7,10 @@ on: paths: - 'mobile/kmp/**' +permissions: + contents: read + packages: write + jobs: publish: if: github.event.pull_request.merged == true From 11754fd47952befef02670a166ad187757ae5a93 Mon Sep 17 00:00:00 2001 From: Arina Gazhina Date: Tue, 27 Jan 2026 16:18:12 +0300 Subject: [PATCH 20/20] chore(kmp): empty line --- .../kotlin/com/atls/hyperion/ui/components/button/Layout.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt index 3077aaab7..41fa737b8 100644 --- a/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt +++ b/mobile/kmp/ui/src/commonMain/kotlin/com/atls/hyperion/ui/components/button/Layout.kt @@ -106,3 +106,4 @@ fun ButtonLayout( } } } +