Search Gradle plugins

Version 2.8 (latest)

Created 25 July 2024.

Publish your maven artifact to Sonatype repo

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.jeadyx.sonatype-uploader") version "2.8"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.jeadyx.sonatype-uploader:io.github.jeadyx.sonatype-uploader.gradle.plugin:2.8")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.jeadyx.sonatype-uploader")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.jeadyx.sonatype-uploader:io.github.jeadyx.sonatype-uploader.gradle.plugin:2.8")
      }
    }
    
    apply(plugin = "io.github.jeadyx.sonatype-uploader")
  • Applying plugins to all subprojects .