Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 20 hours 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.
- Host: GitHub
- URL: https://github.com/deepmedia/mavendeployer
- Owner: deepmedia
- Created: 2020-03-18T15:56:51.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-29T20:25:54.000Z (25 days ago)
- Last Synced: 2025-01-22T20:07:50.991Z (about 20 hours ago)
- Topics: 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
- Language: Kotlin
- Homepage: https://opensource.deepmedia.io/deployer
- Size: 259 KB
- Stars: 74
- Watchers: 5
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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.
It supports automatic configuration for a certain set of projects:
- [Android Projects](https://opensource.deepmedia.io/deployer/artifacts#android-projects)
- [Kotlin Projects](https://opensource.deepmedia.io/deployer/artifacts#kotlin-regular-projects)
- [Kotlin Multiplatform Projects](https://opensource.deepmedia.io/deployer/artifacts#kotlin-multiplatform-projects)
- [Gradle Plugin Projects](https://opensource.deepmedia.io/deployer/artifacts#gradle-plugin-projects)In addition, you may configure deployments manually based on some existing `SoftwareComponent`, `MavenPublication` or simple file artifacts.
```kotlin
// settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
}
}// build.gradle.kts of deployable modules
plugins {
id("io.deepmedia.tools.deployer") version "0.17.0"
}
```Please check out [the documentation](https://opensource.deepmedia.io/deployer).