aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ij.bazelproject
diff options
context:
space:
mode:
authorGravatar John Cater <jcater@google.com>2016-12-12 17:03:37 +0000
committerGravatar John Cater <jcater@google.com>2016-12-12 20:35:34 +0000
commit8e5f864a024bc21f332f997cc503c0ff2fff6926 (patch)
tree03b6b7139da1a5288f906e256eae5e32f80a0116 /scripts/ij.bazelproject
parentfcc0801601f238858bc335eb3f25f66a4eee1909 (diff)
Add a basic ij.bazelproject file for developing Bazel with IntelliJ.
-- Change-Id: Iedbdf32a80e0a4390ff8084a67eba191f544517f Reviewed-on: https://cr.bazel.build/7770 PiperOrigin-RevId: 141771456 MOS_MIGRATED_REVID=141771456
Diffstat (limited to 'scripts/ij.bazelproject')
-rw-r--r--scripts/ij.bazelproject16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/ij.bazelproject b/scripts/ij.bazelproject
new file mode 100644
index 0000000000..025468031c
--- /dev/null
+++ b/scripts/ij.bazelproject
@@ -0,0 +1,16 @@
+# Setup IntelliJ for Bazel development using the IntelliJ Bazel Plugin.
+# See https://github.com/bazelbuild/intellij for installation instructions.
+directories:
+ src/main
+ src/test
+
+test_sources:
+ src/test/*
+
+targets:
+ //src:bazel
+ //src/test/...
+
+# TODO: Remove this once Bazel can use Java 8.
+java_language_level: 7
+