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.0 (latest)

1.4.0

Created 12 March 2024.

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.bakdata.gradle:sonatype:1.4.0")
  }
}

apply(plugin = "com.bakdata.sonatype")

Using the plugins DSL:

plugins {
  id "com.bakdata.sonatype" version "1.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.bakdata.gradle:sonatype:1.4.0"
  }
}

apply plugin: "com.bakdata.sonatype"

Learn how to apply plugins to subprojects