mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
gradle: find task by task path also
This commit is contained in:
+2
-1
@@ -524,7 +524,8 @@ public class GradleProjectResolverUtil {
|
||||
return ExternalSystemApiUtil.find(moduleNode, ProjectKeys.TASK, new BooleanFunction<DataNode<TaskData>>() {
|
||||
@Override
|
||||
public boolean fun(DataNode<TaskData> node) {
|
||||
return node.getData().getName().equals(taskName);
|
||||
String name = node.getData().getName();
|
||||
return name.equals(taskName) || name.equals(taskPath);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user