summaryrefslogtreecommitdiffstats
path: root/WORKSPACE
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 /WORKSPACE
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 'WORKSPACE')
-rw-r--r--WORKSPACE30
1 files changed, 30 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index de7e530812..0ddbf8fbdc 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -22,6 +22,36 @@ load(
"maven_jar",
)
+JMH_VERS = "1.21"
+
+maven_jar(
+ name = "jmh-core",
+ artifact = "org.openjdk.jmh:jmh-core:" + JMH_VERS,
+ attach_source = False,
+ sha1 = "442447101f63074c61063858033fbfde8a076873",
+)
+
+maven_jar(
+ name = "jmh-annotations",
+ artifact = "org.openjdk.jmh:jmh-generator-annprocess:" + JMH_VERS,
+ attach_source = False,
+ sha1 = "7aac374614a8a76cad16b91f1a4419d31a7dcda3",
+)
+
+maven_jar(
+ name = "jopt",
+ artifact = "net.sf.jopt-simple:jopt-simple:5.0.4",
+ attach_source = False,
+ sha1 = "4fdac2fbe92dfad86aa6e9301736f6b4342a3f5c",
+)
+
+maven_jar(
+ name = "math3",
+ artifact = "org.apache.commons:commons-math3:3.6.1",
+ attach_source = False,
+ sha1 = "e4ba98f1d4b3c80ec46392f25e094a6a2e58fcbf",
+)
+
maven_jar(
name = "jsch",
artifact = "com.jcraft:jsch:0.1.55",