Search Gradle plugins

Version 2

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.gradle:common-custom-user-data-gradle-plugin:2")
  }
}

apply(plugin = "com.gradle.common-custom-user-data-gradle-plugin")

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.gradle:common-custom-user-data-gradle-plugin:2"
  }
}

apply plugin: "com.gradle.common-custom-user-data-gradle-plugin"

Learn how to apply plugins to subprojects