Skip to content

Upgrade Gradle Enterprise plugin to Develocity 4.3.2 - #1718

Closed
ribafish wants to merge 3 commits into
apache:masterfrom
ribafish:upgrade-develocity-plugin
Closed

ribafish wants to merge 3 commits into
apache:masterfrom
ribafish:upgrade-develocity-plugin

Conversation

@ribafish

Copy link
Copy Markdown

Summary

  • Upgrade com.gradle.enterprise 3.13.1 → com.gradle.develocity 4.3.2
  • Upgrade com.gradle.common-custom-user-data-gradle-plugin 1.10 → 2.4.0
  • Migrate gradleEnterprise {} DSL → develocity {} DSL
  • Update server URL from ge.apache.org to develocity.apache.org
  • Enable remote build cache (read-only for local builds, push on CI)

The Gradle Enterprise plugin was renamed to Develocity in version 3.17. The old com.gradle.enterprise plugin ID and gradleEnterprise {} DSL are deprecated. This aligns Samza with other Apache projects (Kafka, Groovy) that have already migrated.

The Develocity plugin 4.3.2 is compatible with Gradle 6.0+ and maintains full backward compatibility with the Samza build.

- Upgrade com.gradle.enterprise 3.13.1 to com.gradle.develocity 4.3.2
- Upgrade common-custom-user-data-gradle-plugin 1.10 to 2.4.0
- Migrate from gradleEnterprise {} to develocity {} DSL
- Update server URL from ge.apache.org to develocity.apache.org
- Enable remote build cache (read-only for local builds, push on CI)
- GRADLE_ENTERPRISE_ACCESS_KEY → DEVELOCITY_ACCESS_KEY (matches
  the Develocity plugin rename in settings.gradle)
- Replace actions/cache + gradle/wrapper-validation-action with
  gradle/actions/setup-gradle, which handles both caching and
  wrapper validation
Revert setup-gradle change, keep GRADLE_ENTERPRISE_ACCESS_KEY →
DEVELOCITY_ACCESS_KEY rename only.
clayburn added a commit to clayburn/samza that referenced this pull request Sep 17, 2026
…ugins

The ASF migrated its Develocity instance from ge.apache.org to
develocity.apache.org, and the Gradle Enterprise plugin was renamed to
Develocity in 3.17. This migrates Samza to the new server and updates
both plugins to current releases:

  com.gradle.enterprise 3.13.1 -> com.gradle.develocity 4.5.1
  com.gradle.common-custom-user-data-gradle-plugin 1.10 -> 2.8.0

The DSL changes that accompany the rename:

  gradleEnterprise {}                        -> develocity {}
  publishAlways() + publishIfAuthenticated() -> publishing.onlyIf { it.authenticated }

The explicit build scan capture configuration is dropped so that the
default capture configuration applies, matching apache/groovy.

A projectId of "samza" is set so builds are attributed to the Samza
project on the shared ASF instance, matching apache/kafka and
apache/groovy.

The CI workflow exports DEVELOCITY_ACCESS_KEY from the
DEVELOCITY_ACCESS_KEY secret. The plugin no longer reads
GRADLE_ENTERPRISE_ACCESS_KEY, and DEVELOCITY_ACCESS_KEY is the secret
name ASF INFRA provisions for develocity.apache.org.

Remote build cache configuration is unchanged.

Supersedes apache#1714 and apache#1718.
@ribafish

Copy link
Copy Markdown
Author

Superseded by #1723

@ribafish ribafish closed this Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant