Add .bazelproject file

The .bazelproject file enables the use of the Bazel plugin for IntelliJ
for Gerrit.

Change-Id: Id8a9f7036bced3c4cdd1471c7977eea02941eb41
diff --git a/.bazelproject b/.bazelproject
new file mode 100644
index 0000000..b32683a
--- /dev/null
+++ b/.bazelproject
@@ -0,0 +1,26 @@
+# The project view file (.bazelproject) is used to import Gerrit Bazel packages into the IDE.
+#
+# See: https://ij.bazel.io/docs/project-views.html
+
+directories:
+  .
+  -eclipse-out
+  -contrib
+  -gerrit-package-plugins
+  -gerrit-plugin-gwt-archetype
+  -gerrit-plugin-js-archetype
+  -gerrit-plugin-archetype
+  -logs
+  -./.metadata
+  -./.settings
+  -./.apt_generated
+  # BUCK excludes; Remove after we have entirely switched to Bazel
+  -./.buckd
+  -bucklets
+
+targets:
+  //...:all
+
+java_language_level: 8
+
+workspace_type: java