diff --git a/extension/jdtls.ext/com.microsoft.gradle.bs.importer/src/com/microsoft/gradle/bs/importer/GradleBuildServerProjectImporter.java b/extension/jdtls.ext/com.microsoft.gradle.bs.importer/src/com/microsoft/gradle/bs/importer/GradleBuildServerProjectImporter.java index 78f2adf89..5de270284 100644 --- a/extension/jdtls.ext/com.microsoft.gradle.bs.importer/src/com/microsoft/gradle/bs/importer/GradleBuildServerProjectImporter.java +++ b/extension/jdtls.ext/com.microsoft.gradle.bs.importer/src/com/microsoft/gradle/bs/importer/GradleBuildServerProjectImporter.java @@ -87,7 +87,8 @@ public boolean applies(IProgressMonitor monitor) throws OperationCanceledExcepti IProject project = ProjectUtils.getProjectFromUri(directory.toUri().toString()); // skip this importer if any of the project in workspace is already // imported by other importers. - if (project != null && !Utils.isGradleBuildServerProject(project)) { + if (project != null && (!Utils.isGradleBuildServerProject(project) + && ProjectUtils.isJavaProject(project))) { return false; } }