# vanniktech/gradle-maven-publish-plugin

A Gradle plugin that publishes your Android and Kotlin libraries, including sources and javadoc,  to Maven Central or any other Nexus instance.

Repository: https://github.com/vanniktech/gradle-maven-publish-plugin
Canonical: https://ross.abutalabs.com/products/gradle-maven-publish-plugin
Homepage: https://vanniktech.github.io/gradle-maven-publish-plugin
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: gradle, maven, publishing, kotlin, android, java, gradle-plugin, kotlin-multiplatform, nexus
Last push: 2026-08-26T17:12:58+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 77, longevity 100
- inputs: {"age_days": 3022, "days_push": 7, "days_rel": 73, "gap_med": 69, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1732, forks 140 (observed 2026-08-28T04:05:28.810415+00:00)

## What it is
A Gradle plugin that automates publishing Java, Kotlin, Android, and Kotlin Multiplatform libraries to Maven Central or any Nexus instance, including sources and javadoc. It unifies publishing configuration across project types and supports in-memory GPG signing for CI.

## Use cases
- publish my android library to maven central
- upload kotlin multiplatform library to nexus
- sign artifacts with gpg on CI without key files
- publish gradle plugin with sources and javadoc
- configure maven publishing for all subprojects via gradle properties
- automatically release from sonatype staging without web UI

## When to choose
- you publish Android, Kotlin, or KMP libraries and want one unified setup
- you want easy Maven Central publishing with automatic releasing
- you need CI-friendly GPG signing via environment variables

## When to avoid
- you publish only plain JVM artifacts and are happy with Gradle's built-in maven-publish
- your target repository is not Maven/Nexus compatible
- you don't use Gradle as your build system

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, deployment, developer-tools
- domain: developer-tools, android-tools
- platform: jvm, cli, cross-platform
- tags: gradle-plugin, maven-central, artifact-publishing, kotlin-multiplatform, android-library, gpg-signing, nexus, automation

## Member repositories
- vanniktech/gradle-maven-publish-plugin (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.810415+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:31:40.696242+00:00, confidence not recorded.
  - readme: https://github.com/vanniktech/gradle-maven-publish-plugin (fetched 2026-08-28T04:05:28.810415+00:00, sha 522cdf60bccc)
  - homepage: https://vanniktech.github.io/gradle-maven-publish-plugin (fetched 2026-08-29T11:08:21.448064+00:00, sha ff26ae85f5ee)
- Data as of 2026-08-30T08:39:29.467469+00:00.
