Search Gradle plugins

Version 0.10.1 (latest)

Created 01 February 2019.

- Improve stability by removing usage of internal Gradle API

Using the plugins DSL:

plugins {
  id "com.gradle.plugin-publish" version "0.10.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.gradle.publish:plugin-publish-plugin:0.10.1"
  }
}

apply plugin: "com.gradle.plugin-publish"

Using the plugins DSL:

plugins {
  id("com.gradle.plugin-publish") version "0.10.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.gradle.publish:plugin-publish-plugin:0.10.1")
  }
}

apply(plugin = "com.gradle.plugin-publish")

Learn how to apply plugins to subprojects