Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deepmedia/MavenDeployer

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.
https://github.com/deepmedia/MavenDeployer

aar android android-library apache-maven github github-package-registry github-packages gradle gradle-plugin jar kotlin library maven maven-central maven-pom maven-repository nexus nexus-repository sonatype sonatype-nexus

Last synced: 4 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

[![Build Status](https://github.com/deepmedia/MavenDeployer/actions/workflows/build.yml/badge.svg?event=push)](https://github.com/deepmedia/MavenDeployer/actions)
[![Release](https://img.shields.io/github/release/deepmedia/MavenDeployer.svg)](https://github.com/deepmedia/MavenDeployer/releases)
[![Issues](https://img.shields.io/github/issues-raw/deepmedia/MavenDeployer.svg)](https://github.com/deepmedia/MavenDeployer/issues)

![Project logo](assets/logo.svg)

# 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](https://central.sonatype.com/) repository via Sonatype's OSSRH
- [Maven Central](https://central.sonatype.com/) repository via Sonatype's [Central Portal](https://central.sonatype.org/register/central-portal/)
- Other Sonatype Nexus repositories
- [GitHub Packages](https://docs.github.com/en/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.

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

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

Please check out [the documentation](https://opensource.deepmedia.io/deployer).