Skip to content

Add support for Spring Cloud Alibaba modules #260

@steverao

Description

@steverao

Is your feature request related to a problem? Please describe.
For Spring Cloud Alibaba 2022.x, it supports JDK 17 and can build native image.

Describe the solution you'd like
Add support for all component of Spring Cloud Alibaba.

Describe alternatives you've considered
No

Additional context
I would like to do this, but as a beginner of Gradle, I run test is as following:

./gradlew test -Pcoordinates=io.netty:netty-transport:4.1.76.Final

Console report error is as following:

Execution failed for task ':compileTestJava'.
> Error while evaluating property 'javaCompiler' of task ':compileTestJava'.
   > Failed to calculate the value of task ':compileTestJava' property 'javaCompiler'.
> Task :compileTestJava FAILED
      > No compatible toolchains found for request specification: {languageVersion=17, vendor=GRAAL_VM, implementation=vendor-specific} (auto-detect true, auto-download true).

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

My local environment informations are as following:

openjdk version "17.0.5" 2022-10-18 LTS
OpenJDK Runtime Environment GraalVM 22.3.0 (build 17.0.5+8-LTS)
OpenJDK 64-Bit Server VM GraalVM 22.3.0 (build 17.0.5+8-LTS, mixed mode, sharing)

Gradle 8.0.2
------------------------------------------------------------

Build time:   2023-03-03 16:41:37 UTC
Revision:     7d6581558e226a580d91d399f7dfb9e3095c2b1d

Kotlin:       1.8.10
Groovy:       3.0.13
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.5 (BellSoft 17.0.5+8-LTS)
OS:           Mac OS X 11.4 x86_64

according to https://github.com/oracle/graalvm-reachability-metadata/blob/master/CONTRIBUTING.md, and report following error, whether member of the community help me how to run test successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions