Search Gradle plugins

Version 2

Created 04 April 2024.

- [NEW] Improve tags/values in GitHub Actions `pull_request` workflows - [NEW] Improve tags/values in Jenkins where `GIT_BRANCH` is available - [NEW] Configure Develocity plugin using the new API

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.gradle.common-custom-user-data-gradle-plugin") version "2"
}

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.common-custom-user-data-gradle-plugin:com.gradle.common-custom-user-data-gradle-plugin.gradle.plugin:2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.gradle.common-custom-user-data-gradle-plugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.gradle.common-custom-user-data-gradle-plugin:com.gradle.common-custom-user-data-gradle-plugin.gradle.plugin:2")
      }
    }
    
    apply(plugin = "com.gradle.common-custom-user-data-gradle-plugin")
  • Applying plugins to all subprojects .