Search Gradle plugins

com.bakdata.sonatype

Sets up nexusPublish and closeAndReleaseRepository tasks to push to sonatype (and later synced to central)

https://github.com/bakdata/gradle-plugins

Sources: https://github.com/bakdata/gradle-plugins

Version 1.4.1 (latest)

Created 19 July 2024.

Sets up nexusPublish and closeAndReleaseRepository tasks to push to sonatype (and later synced to central)

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.bakdata.sonatype") version "1.4.1"
}

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("com.bakdata.sonatype:com.bakdata.sonatype.gradle.plugin:1.4.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.bakdata.sonatype")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.bakdata.sonatype:com.bakdata.sonatype.gradle.plugin:1.4.1")
      }
    }
    
    apply(plugin = "com.bakdata.sonatype")
  • Applying plugins to all subprojects .