Skip to content

Error creating Java project with Gradle. #1728

@GamblerGrey

Description

@GamblerGrey

Extension Name: vscode-gradle
Extension Version: 8.14.3 - 9.20
OS Version: windows 11
VSCode version: 1.105.1

I'm trying to create a Java project with Gradle integrated. However, the project isn't created and reports an error downloading the required Gradle version. I already have Gradle versions 9.20 and 8.14.3 installed via SDKman.

To Reproduce
CTRL + SHIFT + P > Java: Create Java Project > Gradle > folder location > Select Build Script DSL Groovy or Kotlin > Folder name.

Expected behavior
Creating a Java project with Gradle.

Screenshots
If applicable, add screenshots to help explain your problem.

Output from "Gradle for Java"
[info] [gradle-server] Gradle Server started, listening on 36295
[info] Gradle client connected to server
[error] [gradle-server] Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.14.3-bin.zip'.
[error] Error running build: init --dsl kotlin --type java-application --project-name nando --package nando: Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.14.3-bin.zip'.

Does the bug still exist if you disable all other extensions?
Yes

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions