Search Gradle plugins

com.gradle.plugin-publish

Owner: Gradle

Publish plugins to the Gradle Plugin Portal Report issues: https://github.com/gradle/plugin-portal-requests

https://plugins.gradle.org/docs/publish-plugin

Version 0.9.5

Created 28 July 2016.

Bug fixes: * Generated pom.xml includes super-configuration dependencies (GRADLE-3515) * Generated pom.xml has correct maven co-ordinates for project dependencies (GRADLE-3359, GRADLE-3509) * Dependency issue when other Bintray plugin pulls in older Maven model as transitive dependency (GRADLE-3516)

Add this plugin to your build using the plugins DSL:

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

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.9.5")
    }
    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.9.5")
      }
    }
    
    apply(plugin = "com.gradle.plugin-publish")
  • Applying plugins to all subprojects .