blob: 38c41b5286c50941f5b3eeb670e2b7ff8569071d [file] [log] [blame]
Carmelo Cascone72893b72018-08-09 00:59:06 -07001workspace(name = "org_onosproject_onos")
Ray Milkey6b3775a2018-06-28 11:18:44 -07002
Carmelo Cascone72893b72018-08-09 00:59:06 -07003load("//tools/build/bazel:generate_workspace.bzl", "generated_maven_jars")
Ray Milkey7dac7da2017-08-01 16:56:05 -07004generated_maven_jars()
Carmelo Cascone72893b72018-08-09 00:59:06 -07005
6load("//tools/build/bazel:protobuf_workspace.bzl", "generate_protobuf")
7generate_protobuf()
8
9load("//tools/build/bazel:grpc_workspace.bzl", "generate_grpc")
Ray Milkey30773582018-07-26 15:52:23 -070010generate_grpc()
Ray Milkey7dac7da2017-08-01 16:56:05 -070011
Carmelo Cascone72893b72018-08-09 00:59:06 -070012load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories")
13grpc_java_repositories(
Carmelo Cascone72893b72018-08-09 00:59:06 -070014 omit_javax_annotation = False,
Carmelo Cascone72893b72018-08-09 00:59:06 -070015
Carmelo Cascone6a1ae712018-08-10 12:19:47 -070016 omit_com_google_api_grpc_google_common_protos = True,
17 omit_com_google_errorprone_error_prone_annotations = True,
18 omit_com_google_auth_google_auth_library_credentials = True,
19 omit_io_opencensus_api = True,
20 omit_io_opencensus_grpc_metrics = True,
Carmelo Cascone72893b72018-08-09 00:59:06 -070021 omit_com_google_code_findbugs_jsr305 = True,
22 omit_com_google_code_gson = True,
23 omit_com_google_guava = True,
24 omit_com_google_protobuf = True,
25 omit_com_google_protobuf_javalite = True,
26 omit_com_google_protobuf_nano_protobuf_javanano = True,
27 omit_com_google_re2j = True,
28 omit_com_google_truth_truth = True,
29 omit_com_squareup_okhttp = True,
30 omit_com_squareup_okio = True,
31 omit_io_netty_buffer = True,
32 omit_io_netty_common = True,
33 omit_io_netty_transport = True,
34 omit_io_netty_codec = True,
35 omit_io_netty_codec_socks = True,
36 omit_io_netty_codec_http = True,
37 omit_io_netty_codec_http2 = True,
38 omit_io_netty_handler = True,
39 omit_io_netty_handler_proxy = True,
40 omit_io_netty_resolver = True,
41 omit_io_netty_tcnative_boringssl_static = True,
42 omit_junit_junit = True,
43 omit_org_apache_commons_lang3 = True
44)
45
Carmelo Cascone72893b72018-08-09 00:59:06 -070046load("//tools/build/bazel:p4lang_workspace.bzl", "generate_p4lang")
47generate_p4lang()
48
49
Ray Milkey6b3775a2018-06-28 11:18:44 -070050git_repository(
Carmelo Cascone72893b72018-08-09 00:59:06 -070051 name = "build_bazel_rules_nodejs",
52 remote = "https://github.com/bazelbuild/rules_nodejs.git",
53 tag = "0.10.0", # check for the latest tag when you install
Ray Milkey6b3775a2018-06-28 11:18:44 -070054)
55
56load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")
57node_repositories(package_json = ["//tools/gui:package.json"])
58
Ray Milkey4867af22018-08-10 16:52:28 -070059ONOS_VERSION = '1.14.0-SNAPSHOT'