Search Gradle plugins

Version 0.18.0 (latest)

Created 16 November 2021.

- Remove check for illegal (reserved) tags when publishing plugins; the checks will still be done, but only on the
server side, where there is more information available and exceptions can be made for users belonging to Gradle

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects