Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Add publish to Maven Central setup#24

Merged
Guardiola31337 merged 1 commit into
mainfrom
pg-publish-to-maven-central
Oct 3, 2025
Merged

Add publish to Maven Central setup#24
Guardiola31337 merged 1 commit into
mainfrom
pg-publish-to-maven-central

Conversation

@Guardiola31337

@Guardiola31337 Guardiola31337 commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

Next step

  • Add a GitHub Actions workflow to build and publish your library automatically - noting that this is not blocking the PR from merging, we can implement that in a separate one.

alias(libs.plugins.androidLibrary)
alias(libs.plugins.jetbrainsKotlinAndroid)
kotlin("plugin.serialization") version "2.0.0"
`maven-publish`

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced maven-publish by Gradle Maven Publish Plugin. See Advantages over maven-publish for details.


val libraryGroup = "com.worldcoin"
val libraryArtifactId = "idkit-kotlin"
val libraryVersion = "4.0.0-SNAPSHOT"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumped to the next major version SNAPSHOT.

signAllPublications()
coordinates(libraryGroup, libraryArtifactId, libraryVersion)

pom {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added POM details to the artifact.

thereisnogabe
thereisnogabe previously approved these changes Oct 3, 2025
@Guardiola31337 Guardiola31337 force-pushed the pg-publish-to-maven-central branch from 87215c3 to c8fd826 Compare October 3, 2025 22:21
Comment thread README.md
@@ -101,14 +99,47 @@ All the technical docs for the Wordcoin SDK, World ID Protocol, examples, guides

## Release

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual local release. This won't be needed when publishing from CI.

@Guardiola31337 Guardiola31337 merged commit 9c9857e into main Oct 3, 2025
7 checks passed
@Guardiola31337 Guardiola31337 deleted the pg-publish-to-maven-central branch October 3, 2025 22:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants