diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2018-01-28 18:40:54 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2018-01-28 18:40:54 +0100 |
commit | 81f26d944027fc9f6bb26d5009d3142b841e6cd2 (patch) | |
tree | 2bd959f169a1ed27a225e72dccc9fb40f74b4636 /WORKSPACE | |
parent | c84bbfbbd30b51a35fc7d0e6ca32a51ed920b2fc (diff) |
Add Bazel build files.
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 0000000..80243e3 --- /dev/null +++ b/WORKSPACE @@ -0,0 +1,61 @@ +scala_rules_version="41ac5be57e50ee5433fa40e6a1de86914d92dbfb" +maven_rules_version="9c3b07a6d9b195a1192aea3cd78afd1f66c80710" + +http_archive( + name = "io_bazel_rules_scala", + url = "https://github.com/bazelbuild/rules_scala/archive/%s.zip" % scala_rules_version, + type = "zip", + strip_prefix= "rules_scala-%s" % scala_rules_version, +) + +http_archive( + name = "org_pubref_rules_maven", + url = "https://github.com/pubref/rules_maven/archive/%s.zip" % maven_rules_version, + type = "zip", + strip_prefix= "rules_maven-%s" % maven_rules_version, +) + +load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories", "scala_mvn_artifact") +scala_repositories() + +load("@io_bazel_rules_scala//scala:toolchains.bzl", "scala_register_toolchains") +register_toolchains("//toolchains:scala_toolchain") + +load("@org_pubref_rules_maven//maven:rules.bzl", "maven_repositories", "maven_repository") +maven_repositories() + +maven_repository( + name = "deps", + repositories = { + }, + omit = [ + "org.scala-lang:scala-library", + ], + force = [ + "org.scala-lang:scala-library:2.12.4", + "org.scala-lang:scala-reflect:2.12.4", + "org.scala-lang:scala-compiler:2.12.4", + ], + deps = [ + "org.scala-lang.plugins:scala-continuations-library_2.12:1.0.3", + "org.scala-lang.plugins:scala-continuations-plugin_2.12.2:1.0.3", + + "io.monix:monix-reactive_2.12:2.3.3", + ], + transitive_deps = [ + '2b5a0a9c06db69365a916317d77d068f2b9185d0:io.monix:monix-eval_2.12:2.3.3', + '700016fcc15ffef9a83dfd082fc88e25d936275a:io.monix:monix-execution_2.12:2.3.3', + '82e593b89260a562f9ac334a290a37f5527a474c:io.monix:monix-reactive_2.12:2.3.3', + '007df159e73f74ca04f0330d350d85fadb3e1d9d:io.monix:monix-types_2.12:2.3.3', + '1d055e97b997dae4d8ea28ae5ebc328334f82ac6:org.jctools:jctools-core:2.0.1', + '14b8c877d98005ba3941c9257cfe09f6ed0e0d74:org.reactivestreams:reactive-streams:1.0.0', + 'e22de3366a698a9f744106fb6dda4335838cf6a7:org.scala-lang.modules:scala-xml_2.12:1.0.6', + 'fc5af375ef8c9da08fd5dc6c8055aeec09be60ae:org.scala-lang.plugins:scala-continuations-library_2.12:1.0.3', + '88dd2cf0cb6f74ed02c19872b92d64e09050cff2:org.scala-lang.plugins:scala-continuations-plugin_2.12.2:1.0.3', + 'c69c0ee397050d7fa30cfe490471388d30c03bd0:org.scala-lang:scala-compiler:2.12.4', + 'omit:org.scala-lang:scala-library:2.12.4', + '2df9e6015b97e35464edddd20eec392bb54fab11:org.scala-lang:scala-reflect:2.12.4', + ], +) +load("@deps//:rules.bzl", "deps_compile") +deps_compile() |