Skip to content

Commit 8905c4a

Browse files
authored
Special handling build only when it's build server project and not buildship project (#511)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
1 parent c0e8f92 commit 8905c4a

File tree

1 file changed

+1
-1
lines changed
  • com.microsoft.java.debug.plugin/src/main/java/com/microsoft/java/debug/plugin/internal

1 file changed

+1
-1
lines changed

com.microsoft.java.debug.plugin/src/main/java/com/microsoft/java/debug/plugin/internal/Compile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static Object compile(CompileParams params, IProgressMonitor monitor) {
5858
}
5959
}
6060

61-
if (isBspProject(mainProject)) {
61+
if (isBspProject(mainProject) && !ProjectUtils.isGradleProject(mainProject)) {
6262
// Just need to trigger a build for the target project, the Gradle build server will
6363
// handle the build dependencies for us.
6464
try {

0 commit comments

Comments
 (0)