googleapis / googleapis/google-cloud-java

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

未关闭
#12,425 0 条评论 0 个 reaction 已指派 1 人 已被 @blakeli0 认领 在 GitHub 查看
priority: p2 type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。