summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2019-08-04 19:04:41 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2019-11-05 14:59:50 +0100
commit452c38cd2285df77b831406e7eeab2dc778bdf1c (patch)
treef488eee2d246cfb4f56910cabe4fa65750c47538 /lib
parent06de3a1dd773e2bfff26b247c728f69a6dc99e97 (diff)
downloadjgit-452c38cd2285df77b831406e7eeab2dc778bdf1c.tar.gz
jgit-452c38cd2285df77b831406e7eeab2dc778bdf1c.zip
Run JMH benchmarks using bazel
The benchmarks can be built and run using bazel by running: $ bazel run //org.eclipse.jgit.benchmarks:benchmarks Change-Id: I6679750eaa0f2be30ed9d45036e013b0ea4fcc86 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/jmh/BUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/jmh/BUILD b/lib/jmh/BUILD
new file mode 100644
index 0000000000..deb2a78def
--- /dev/null
+++ b/lib/jmh/BUILD
@@ -0,0 +1,12 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
+java_library(
+ name = "jmh",
+ visibility = ["//visibility:public"],
+ exports = [
+ "@jmh-annotations//jar",
+ "@jmh-core//jar",
+ "@jopt//jar",
+ "@math3//jar",
+ ],
+) \ No newline at end of file