mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-116636 Android-Gradle facet is created when Gradle synchronization
related bug IDEA-116887 Gradle web artifacts do not contain compiled classes and JSP files
This commit is contained in:
+2
-2
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package org.jetbrains.plugins.gradle.service.project;
|
||||
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import org.gradle.tooling.BuildAction;
|
||||
import org.gradle.tooling.BuildController;
|
||||
import org.gradle.tooling.model.build.BuildEnvironment;
|
||||
@@ -104,12 +103,13 @@ public class ProjectImportAction implements BuildAction<ProjectImportAction.AllM
|
||||
|
||||
/**
|
||||
* Return collection path of modules provides the model
|
||||
*
|
||||
* @param modelClazz extra project model
|
||||
* @return modules path collection
|
||||
*/
|
||||
@NotNull
|
||||
public Collection<String> findModulesWithModel(@NotNull Class modelClazz) {
|
||||
List<String> modules = ContainerUtil.newArrayList();
|
||||
List<String> modules = new ArrayList<String>();
|
||||
for (Map.Entry<String, Object> set : projectsByPath.entrySet()) {
|
||||
if (modelClazz.isInstance(set.getValue())) {
|
||||
modules.add(extractModulePath(modelClazz, set.getKey()));
|
||||
|
||||
Reference in New Issue
Block a user