Skip to content

Commit

Permalink
Kmp (#31)
Browse files Browse the repository at this point in the history
* Added support to KMP

* Bumped MVI to 1.8.0

* Added missing configs to upload to maven
  • Loading branch information
extmkv authored Sep 10, 2024
1 parent 0b17235 commit 4eae42c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release_compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ jobs:
- name: Publish Library
run: |
echo "Publishing library🚀"
./gradlew :mvi-compose:publish --no-daemon --no-parallel
./gradlew :mvi-compose:publishAndReleaseToMavenCentral --no-configuration-cache
echo "Published✅"
echo "Releasing repository...🚀"
./gradlew closeAndReleaseRepository
echo "Released✅"
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSWORD }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release_kotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ jobs:
- name: Publish Library
run: |
echo "Publishing library🚀"
./gradlew :mvi-kotest:publish --no-daemon --no-parallel
./gradlew :mvi-kotest:publishAndReleaseToMavenCentral --no-configuration-cache
echo "Published✅"
echo "Releasing repository...🚀"
./gradlew closeAndReleaseRepository
echo "Released✅"
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSWORD }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release_mvi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ jobs:
- name: Publish Library
run: |
echo "Publishing library🚀"
./gradlew :mvi:publish --no-daemon --no-parallel
./gradlew :mvi:publishAndReleaseToMavenCentral --no-configuration-cache
echo "Published✅"
echo "Releasing repository...🚀"
./gradlew closeAndReleaseRepository
echo "Released✅"
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSWORD }}
Expand Down
5 changes: 2 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ plugins {
alias(libs.plugins.mavenPublish)
}

configure(subprojects) {

allprojects {
pluginManager.withPlugin("com.vanniktech.maven.publish") {
mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
signAllPublications()
}
}
Expand Down

0 comments on commit 4eae42c

Please sign in to comment.