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: 8 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.
- Host: GitHub
- URL: https://github.com/deepmedia/MavenDeployer
- Owner: deepmedia
- Created: 2020-03-18T15:56:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-29T20:25:54.000Z (9 months ago)
- Last Synced: 2025-01-30T22:43:12.314Z (8 months 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: 75
- Watchers: 5
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/deepmedia/MavenDeployer/actions)
[](https://github.com/deepmedia/MavenDeployer/releases)
[](https://github.com/deepmedia/MavenDeployer/issues)
# 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).