Skip to content

Commit

Permalink
Set Maven Central publishing repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Sikora committed Jun 13, 2023
1 parent 84cd732 commit 9d62f81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY }}
run: ./gradlew -p library publish --no-daemon --no-parallel --stacktrace
run: ./gradlew -p library publishAllPublicationsToMavenCentral --no-configuration-cache --stacktrace

- name: Stop Gradle
run: ./gradlew --stop
Expand Down
1 change: 1 addition & 0 deletions library/gradle/gradle-mvn-push.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: libs.plugins.mavenPublish.get().pluginId

mavenPublishing {
publishToMavenCentral()
signAllPublications()
}

0 comments on commit 9d62f81

Please sign in to comment.