openrewrite / rewrite-gradle-plugin

OpenRewrite's Gradle plugin.
Apache License 2.0
60 stars 37 forks source link

Update gradle enterprise setup #251

Closed ribafish closed 9 months ago

ribafish commented 9 months ago

What's changed?

What's your motivation?

Anything in particular you'd like reviewers to focus on?

In general, we strongly suggest to apply these fixes/updates to the rest of your projects, especially if you have a nice rewrite rule to do it for you 😄

timtebeek commented 9 months ago

I think we should be able to roll out this change through the platform using this recipe

type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.UpgradeDevelocityGradlePlugins
displayName: Upgrade Develocity Gradle plugins
description: Upgrade the Develocity Gradle plugins.
recipeList:
  - org.openrewrite.gradle.plugins.UpgradePluginVersion:
      pluginIdPattern: com.gradle.enterprise
      newVersion: "3.16"
  - org.openrewrite.gradle.plugins.UpgradePluginVersion:
      pluginIdPattern: com.gradle.common-custom-user-data-gradle-plugin
      newVersion: 1.12.1

As per https://gradle.com/blog/develocity-global-implementation-best-practice-using-openrewrite-to-enable-develocity-project-integration-and-rollout-at-scale/ :)