-
Notifications
You must be signed in to change notification settings - Fork 30
#9 maven central #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
#9 maven central #10
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
dec587d
Merge branch 'develop'
Alex009 9fe74c2
Merge pull request #2 from icerockdev/develop
Alex009 9359c2b
#9 migrate to maven central
alexpogrebnyak fa62f31
#9 migrate to maven central
alexpogrebnyak f735aef
#9 migrate to maven central
alexpogrebnyak 6db4197
#9 migrate to maven central
alexpogrebnyak 8c2f9ba
#9 migrate to maven central
alexpogrebnyak f2d0221
#9 migrate to maven central
alexpogrebnyak 6794c27
#9 migrate to maven central
alexpogrebnyak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,46 @@ | ||
| name: KMP library publish | ||
| name: Create release | ||
|
|
||
| on: | ||
| release: | ||
| types: [published] | ||
| workflow_dispatch: | ||
| inputs: | ||
| version: | ||
| description: 'Version' | ||
| default: '0.1.0' | ||
| required: true | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: macOS-latest | ||
|
|
||
| publish: | ||
| name: Publish library at mavenCentral | ||
| runs-on: macOS-latest | ||
| env: | ||
| OSSRH_USER: ${{ secrets.OSSRH_USER }} | ||
| OSSRH_KEY: ${{ secrets.OSSRH_KEY }} | ||
| SIGNING_KEY_ID: ${{ secrets.SIGNING_KEYID }} | ||
| SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | ||
| SIGNING_KEY: ${{ secrets.GPG_KEY_CONTENTS }} | ||
| steps: | ||
| - uses: actions/checkout@v1 | ||
| - name: Set up JDK 1.8 | ||
| uses: actions/setup-java@v1 | ||
| with: | ||
| java-version: 1.8 | ||
| - name: Cocoapods install | ||
| run: (cd sample/ios-app && pod install) | ||
| - name: Publish library | ||
| run: ./gradlew publish | ||
| release: | ||
| name: Create release | ||
| needs: publish | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v1 | ||
| - name: Set up JDK 1.8 | ||
| uses: actions/setup-java@v1 | ||
| - name: Create Release | ||
| id: create_release | ||
| uses: actions/create-release@v1 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| java-version: 1.8 | ||
| - name: Cocoapods install | ||
| run: (cd sample/ios-app && pod install) | ||
| - name: Publish library | ||
| run: ./gradlew publishAllPublicationsToBintrayRepository -DBINTRAY_USER=${{ secrets.BINTRAY_USER }} -DBINTRAY_KEY=${{ secrets.BINTRAY_KEY }} | ||
| commitish: ${{ github.ref }} | ||
| tag_name: release/${{ github.event.inputs.version }} | ||
| release_name: Release ${{ github.event.inputs.version }} | ||
| body: "Will be filled later" | ||
| draft: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,20 @@ | ||
| plugins { | ||
| id("org.jetbrains.kotlin.jvm") version("1.4.10") | ||
| id("org.jetbrains.kotlin.jvm") version("1.4.31") | ||
| } | ||
|
|
||
| repositories { | ||
| jcenter() | ||
| mavenCentral() | ||
| google() | ||
|
|
||
| maven { url = uri("https://dl.bintray.com/icerockdev/plugins") } | ||
| jcenter { | ||
| content { | ||
| includeGroup("org.jetbrains.trove4j") | ||
| } | ||
| } | ||
| } | ||
|
|
||
| dependencies { | ||
| implementation("dev.icerock:mobile-multiplatform:0.7.1") | ||
| implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10") | ||
| implementation("dev.icerock:mobile-multiplatform:0.9.1") | ||
| implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31") | ||
| implementation("com.android.tools.build:gradle:4.0.1") | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.