redhat-developer / redhat-developer/vscode-quarkus

Running/Debugging quarkus application with Gradle throws error

Open
#634 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
79
Forks
31
Avg merge
12h 51m
Merged PRs (30d)
6

Description

Background:
Creating projects with >Quarkus: Generate a Quarkus Project in VS code
Trying to run/debug Quarkus project using command >Quarkus: Debug current Quarkus project

Issue:
Works perfectly fine for maven projects. However, throws following error while running Gradle:
Cannot read properties of undefined (reading 'getQuarkusDevTaskName')

Extension version:
1.16.0

Note: Gradle code running perfectly fine using terminal using command: gradlew quarkusDev

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in a VS Code-generated Quarkus Gradle project using the “Quarkus: Debug current Quarkus project” command, then compare its Gradle handling with the working Maven path. Use the reported getQuarkusDevTaskName error as the starting point; done means the Gradle project launches or debugs successfully through the command, while terminal gradlew quarkusDev continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.