Search Gradle plugins

Version 1.8 (latest)

Created 29 August 2020.

Gradle Plugin to publish projects to the sonatype repository

Using the plugins DSL:

plugins {
  id "com.dorkbox.GradlePublish" version "1.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.dorkbox:GradlePublish:1.8"
  }
}

apply plugin: "com.dorkbox.GradlePublish"

Using the plugins DSL:

plugins {
  id("com.dorkbox.GradlePublish") version "1.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.dorkbox:GradlePublish:1.8")
  }
}

apply(plugin = "com.dorkbox.GradlePublish")

Learn how to apply plugins to subprojects