-
Notifications
You must be signed in to change notification settings - Fork 40
Compile-time compatibility with Java17 #412
Conversation
The latest issue seems to be an actual problem with Gradle testing facilities. So compile-time Java 17 compatibility is blocked on gradle/gradle#20301 Nothing prevents using app-gradle-plugin with Java 17 at runtime once we pull in the latest core and release. |
Can we try again? Thanks! |
I'll rebase, and rerun checks, but the underlying issue has not been resolved. We might have to restructure the tests to not rely on this gradle testing functionality. |
I got rid of an extra set of issues by upgrading jacoco, but as far as unit test failures, the same issue remains. It's listed as "known regression" in gradle. |
This can be unblocked without fixing the upstream issue. That Settings problem is the symptom of eager task configuration and non-idiomatic (old-style) Gradle code. See the migration path here: Focusing on unblocking this issue alone:
As a recommendation both of these fixes can be applied independently of this Gradle upgrade (PR title misleading btw).
|
Hi,
I see this error:
"com.google.cloud.tools.appengine.AppEngineException: Cannot process
application with runtime: java"
Is it because you have <runtime>java</runtime> in appengine-web.xml
instead of <runtime>java17</runtime>
?
…On 3/10/23 1:49 AM, Mukabak Orazbek wrote:
@TWiStErRob <https://github.com/TWiStErRob>
Thanks, I will delete my comments and publish it to Mvn plugin issues.
—
Reply to this email directly, view it on GitHub
<#412 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAATRTM4QEXVZUEOB6NEQ5DW3L2LNANCNFSM5TJFN5NA>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Part of the way there:
(fixed with an "I have no idea what I am doing" dog face expression) problem is that
integTestCompile.extendsFrom testImplementation
seems to behave differently from the oldtestCompile
, so the classpath forintegTest
task is missing all the source code and imported libraries.Next problem: a dozen tests fail with a similar test setup problem. Something must have changed in test setup facilities between versions, too.