googleapis / googleapis/google-cloud-java

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

Đang mở
#12,425 0 bình luận 0 reaction 1 người được giao Được @blakeli0 nhận Xem trên GitHub
priority: p2 type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.