Search Gradle plugins

Version 0.18.0

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin:0.18.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.gradle.plugin-publish")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin:0.18.0")
      }
    }
    
    apply(plugin = "com.gradle.plugin-publish")
  • Applying plugins to all subprojects .