GoogleCloudPlatform / appengine-plugins

A client Java library to manage App Engine Java applications for any project that performs App Engine Java application management. For example, the Maven, Gradle and Eclipse App Engine plugins, custom user tools, etc.
Apache License 2.0
40 stars 26 forks source link

Build-time Java 17 compatibility #1002

Open elefeint opened 2 years ago

elefeint commented 2 years ago

Current state:

colorizenl commented 2 years ago

Hi @elefeint. I created https://github.com/GoogleCloudPlatform/appengine-plugins-core/pull/881, as currently the Gradle plugin does not allow the java17 runtime at all.

elefeint commented 2 years ago

Thank you! From compile-time compatibility side, I am working my way through the Gradle upgrade changes that are required, since only 7.3+ supports Java 17.

elefeint commented 2 years ago

GoogleCloudPlatform/app-gradle-plugin#413 plus a release should sort out runtime compatibility. Compile time compatibility work is in GoogleCloudPlatform/app-gradle-plugin#412 but is blocked on a gradle issue.

grant commented 2 years ago

Blocked by gradle issue: https://github.com/gradle/gradle/issues/20301

ludoch commented 2 years ago

Did we release GoogleCloudPlatform/app-gradle-plugin#413?

When can we close this bug? Not sure if this should be a blocker for GAE Java17 move to GA.

elefeint commented 2 years ago

Released on 5/3 -- https://github.com/GoogleCloudPlatform/app-gradle-plugin/releases/tag/v2.4.3

The Releases section in github has not been updated in years, although it does look odd to have it be so out of date. We should probably add manual steps to the release process to create a github release.

On Thu, Jun 2, 2022 at 2:23 PM Ludovic Champenois @.***> wrote:

Did we release GoogleCloudPlatform/app-gradle-plugin#413 https://github.com/GoogleCloudPlatform/app-gradle-plugin/pull/413?

When can we close this bug? Not sure if this should be a blocker for GAE Java17 move to GA.

— Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/appengine-plugins/issues/1002, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZ27OXYN46CAHRIFLKOBY3VND3ZHANCNFSM5OPAHZEQ . You are receiving this because you were mentioned.Message ID: @.***>

elefeint commented 2 years ago

We can close this issue, as runtime compatibility is there. Compile-time should not be blocking any users.

grant commented 2 years ago

I think there is more work left:

I think there are more changes required as well.

elefeint commented 2 years ago

That's just for the compile-time compatibility, right? Everything except for gradle wrapper upgrade is in GoogleCloudPlatform/app-gradle-plugin#412, but getting that unblocked and merged in is more of an internal code maintenance issue. It should not affect AppEngine users who want to build their apps with app-gradle-plugin -- that should just work starting with v2.4.3.

elefeint commented 2 years ago

I've just tested deploying a Spring Boot application using openjdk 17.0.3 and gradle plugin 2.4.3 and it works well. So my soul is at peace about the gradle plugin being compatible.

grant commented 2 years ago

The plugin is fine for the java17 runtime. Compile-time is separate.

elefeint commented 2 years ago

Right; leaving open until unblocked.