Describe the release workflow, credentials, and validation steps for safely publishing multiplatform artifacts.
You need access tokens and signing keys configured as environment variables or Gradle properties:
ORG_GRADLE_PROJECT_signingKeyId=<key-id>
ORG_GRADLE_PROJECT_signingKey=<ascii-armored-key>
ORG_GRADLE_PROJECT_signingPassword=<passphrase>
ORG_GRADLE_PROJECT_sonatypeUsername=<username>
ORG_GRADLE_PROJECT_sonatypePassword=<password>
Import the provided .gpg keys in the repository root if you have access:
gpg --import public_key_matheus.gpg
gpg --allow-secret-key-import --import public_key_matheus_secret.gpg
gradle/libs.versions.toml and affected module build.gradle.kts files../gradlew clean check
./gradlew publishToMavenLocal
./gradlew publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository
Artifacts inherit the Apache License 2.0. Ensure third-party dependencies comply with the same or compatible licenses.