Skip to content

A handy Gradle plugin for releasing maven packages to Maven Central, Nexus, GitHub Packages or local directories. Supports signing, authorization, Gradle plugins, Kotlin Multiplatform and more.

Notifications You must be signed in to change notification settings

deepmedia/MavenDeployer

Repository files navigation

Build Status Release Issues

Project logo

MavenDeployer

A lightweight, handy Gradle plugin to deploy your maven packages (for example, Android AARs, Java JARs, Kotlin KLibs) to different kinds of repositories. It supports publishing to:

  • local directories, to use them as local maven repositories in other projects
  • Maven Central repository via Sonatype's OSSRH
  • Other Sonatype Nexus repositories
  • GitHub Packages

For Maven Central builds, the plugin takes care of releasing the artifacts using Sonatype REST APIs so you don't have to use their web UI.

// settings.gradle.kts
pluginManagement {
    repositories {
        gradlePluginPortal()
        mavenCentral()
    }
}

// build.gradle.kts of deployable modules
plugins {
    id("io.deepmedia.tools.deployer") version "0.12.0"
}

Please check out the documentation.