boolean (@NotNull ProjectTask projectTask) { return projectTask instanceof ModuleBuildTask || projectTask instanceof EmptyCompileScopeBuildTask || (projectTask instanceof ProjectModelBuildTask && ((ProjectModelBuildTask<?>)projectTask).getBuildableElement() instanceof Artifact); }