From 0f4a259c4d8e752f4177e8be09f7b2359cecf3d1 Mon Sep 17 00:00:00 2001 From: Ian O'Connell Date: Wed, 19 Jun 2019 10:42:46 -0600 Subject: [PATCH] Depset is not iterable --- scala/private/common.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scala/private/common.bzl b/scala/private/common.bzl index 4fcabc2f6..76078d20c 100644 --- a/scala/private/common.bzl +++ b/scala/private/common.bzl @@ -50,7 +50,7 @@ def collect_plugin_paths(plugins): # which breaks scala macros elif hasattr(p, "files"): - paths.extend([f for f in p.files if not_sources_jar(f.basename)]) + paths.extend([f for f in p.files.to_list() if not_sources_jar(f.basename)]) return depset(paths) def _collect_jars_when_dependency_analyzer_is_off(