Skip to content

Release libraries to Maven Central (Nexus/OSSRH or Central Portal), GitHub Packages and local directories with a unified Gradle DSL. Includes automatic releases using Sonatype APIs.

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:

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.

It supports automatic configuration for a certain set of projects:

In addition, you may configure deployments manually based on some existing SoftwareComponent, MavenPublication or simple file artifacts.

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

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

Please check out the documentation.