Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAVA_17 #686

Open
GuilhE opened this issue May 18, 2023 · 2 comments
Open

JAVA_17 #686

GuilhE opened this issue May 18, 2023 · 2 comments

Comments

@GuilhE
Copy link

GuilhE commented May 18, 2023

🐛 Describe the bug

When updating to jvmTarget = JavaVersion.VERSION_17.toString() it will throw, using VERSION_11 is ok.

⚠️ Current behavior

./gradlew refreshVersions
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Configuration cache is an incubating feature.
Configuration on demand is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: refreshVersions
Type-safe project accessors is an incubating feature.

0 problems were found storing the configuration cache.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not determine the dependencies of null.
   > Could not resolve all dependencies for configuration ':app:classpath'.
      > Failed to calculate the value of task ':build-logic:conventions:compileJava' property 'javaCompiler'.
         > No matching toolchains found for requested specification: {languageVersion=17, vendor=any, implementation=vendor-specific}.
            > No locally installed toolchains match (see https://docs.gradle.org/8.0/userguide/toolchains.html#sec:auto_detection) and toolchain download repositories have not been configured (see https://docs.gradle.org/8.0/userguide/toolchains.html#sub:download_repositories).

* 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.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s
Configuration cache entry stored.

✅ Expected behavior

Working with JAVA_17

💣 Steps to reproduce

Use Gradle 8.0 and JAVA_17

@GuilhE
Copy link
Author

GuilhE commented Jun 21, 2023

Feedback?

@soloturn
Copy link

soloturn commented May 4, 2024

newest version works with java-17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants