Search Gradle plugins

Add this plugin to your build using the plugins DSL:

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

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.gradle.publish:plugin-publish-plugin:0.9.9")
      }
    }
    
    apply(plugin = "com.gradle.plugin-publish")
  • Applying plugins to all subprojects .