Search Gradle plugins

Version 1.2.2

1.2.2

Created 29 August 2024.

- Add proper annotations to tasks so validatePlugins passes in the strict mode

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects