googleapis / googleapis/google-cloud-java

[sdk-platform-java] Migrate the generated Gradle files to be compatible with Java 22

Open
#12,425 0 comments 0 reactions 1 assignee Claimed by @blakeli0 View on GitHub
priority: p2 type: feature request
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

The generated Gradle files as part of the self service(Bazel) flow includes configurations that are not compatible with Java 22.

1. The gradle-wrapper.properties references 7.6.4 which does not support Java 22. The earliest Gradle version that supports Java 22 is 8.8 per [compatibility table](https://docs.gradle.org/current/userguide/compatibility.html).
2. There are a few templates reference [classifier](https://github.com/googleapis/sdk-platform-java/blob/main/rules_java_gapic/resources/gradle/grpc.gradle.tmpl#L20), which has been deprecated since 5.1 and removed since 8.0.

We need to migrate these files to be compatible with Java 22, but also stay compatible with Java 8 and Gradle 7.x.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.