Skip to content

Add support for running the projects with Gradle, instead of the redhat.java JDT build#386

Open
tomaszrup wants to merge 2 commits intomicrosoft:mainfrom
tomaszrup:main
Open

Add support for running the projects with Gradle, instead of the redhat.java JDT build#386
tomaszrup wants to merge 2 commits intomicrosoft:mainfrom
tomaszrup:main

Conversation

@tomaszrup
Copy link
Copy Markdown

Currently, the run always happen with java and the compiled files that were produced by the redhat.java extension. This is fine in most cases, but it causes some issues when the user has some custom Gradle tasks added to their build.

An example case: a Gradle task, that copies a yaml file into build directory. It gets copied into build. But this extension runs the output from bin, that was compiled using Eclipse from redhat.java.

Why not treat Gradle as a first-class citizen?

tomaszrup added 2 commits March 28, 2026 23:02
…ds to LocalAppManager

fix: update process info to handle pending Gradle apps in LiveDataController

chore: register LocalAppController in extension initialization

feat: introduce launchUtils for Gradle context resolution and JVM argument management

test: add unit tests for launchUtils functions and Gradle context resolution
@tomaszrup
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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

Successfully merging this pull request may close these issues.

1 participant