[info] [gradle-server] Gradle Server started, listening on 56494
[info] Gradle client connected to server
[info] Java Home: C:\Program Files\Eclipse Adoptium\jdk-8.0.482.8-hotspot
[info] JVM Args: --add-opens,java.base/java.util=ALL-UNNAMED,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant
[info] Gradle User Home: C:\Users\chagon\.gradle
[info] Gradle Version: 4.10.2
[info] CONFIGURE SUCCESSFUL in 8s
FAILURE: Build failed with an exception.
* What went wrong:
Failed to notify build listener.
> org/gradle/plugins/ide/internal/tooling/model/DefaultGradleProject
* 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 8s
[error] [gradle-server] Could not run build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-4.10.2-bin.zip'.
[error] Error getting build for c:\Users\name\Desktop\release\ws\vscode-java\test\resources\projects\gradle\simple-gradle: Could not run build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-4.10.2-bin.zip'.
Open https://github.com/redhat-developer/vscode-java/tree/master/test/resources/projects/gradle/simple-gradle project which is using Gradle 4. Then set "java.import.gradle.java.home" to JDK 8 which supposed to be working with Gradle 4.
There will be error in "Gradle For Java" output channel: