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

Version 1.1.4 (latest)

Created 28 February 2019.

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.1.4"
}

Using legacy plugin application:

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

apply plugin: "com.bakdata.sonatype"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects