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
- Maven Central repository via Sonatype's Central Portal
- 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.14.0"
}
Please check out the documentation.