Search Gradle plugins

Version 1.4 (latest)

Created 07 August 2020.

Gradle Plugin to publish projects to the sonatype repository

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.dorkbox.GradlePublish"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects