Adapt Eclipse project generation for Bazel 0.25
Bazel 0.25 flipped the bit for incompatible_merge_genfiles_directory.
Bug: Issue 10665
Change-Id: I23811368b818bdd2e3fe10d63553ee7856dea0e3
diff --git a/tools/eclipse/project.py b/tools/eclipse/project.py
index 833474a1..2cba4fb 100755
--- a/tools/eclipse/project.py
+++ b/tools/eclipse/project.py
@@ -154,7 +154,8 @@
src.add(m.group(1))
# Exceptions: both source and lib
if p.endswith('libquery_parser.jar') or \
- p.endswith('prolog/libcommon.jar'):
+ p.endswith('prolog/libcommon.jar') or \
+ p.endswith('lucene-core-and-backward-codecs__merged.jar'):
lib.add(p)
# JGit dependency from external repository
if 'gerrit-' not in p and 'jgit' in p: