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

Support HCR for gradle build server projects #555

Merged
merged 6 commits into from
Jun 14, 2024
Merged

Support HCR for gradle build server projects #555

merged 6 commits into from
Jun 14, 2024

Conversation

jdneo
Copy link
Member

@jdneo jdneo commented Jun 3, 2024

  • when HCR request comes, find the main project and check if it's a
    gradle build server project, if yes, trigger the incremental build.

requires: microsoft/vscode-gradle#1493

How to test the change

replace the following jar file into the vscode gradle extension installation path, under the server folder
com.microsoft.gradle.bs.importer-0.2.0.jar.zip

Launch debugger extension with this change.

fix microsoft/vscode-gradle#1449
fix redhat-developer/vscode-java#3392
fix microsoft/vscode-java-debug#1402
fix microsoft/vscode-java-debug#1481
fix #554

*/
public static IProject getMainProject(String mainProjectName, String mainClassName) {
IProject mainProject = null;
if (StringUtils.isNotEmpty(mainProjectName)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use isNotBlank instead

@testforstephen testforstephen merged commit 3657243 into main Jun 14, 2024
4 checks passed
@testforstephen testforstephen deleted the cs/hcr branch June 14, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment