-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathWORKSPACE
More file actions
114 lines (94 loc) · 3.91 KB
/
Copy pathWORKSPACE
File metadata and controls
114 lines (94 loc) · 3.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
workspace(name = "cel_java")
register_toolchains("//:repository_default_toolchain_definition")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
RULES_JVM_EXTERNAL_TAG = "4.5"
RULES_JVM_EXTERNAL_SHA = "b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6"
http_archive(
name = "rules_jvm_external",
sha256 = RULES_JVM_EXTERNAL_SHA,
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)
load("@rules_jvm_external//:defs.bzl", "maven_install")
# Important: there can only be one maven_install rule. Add new maven deps here.
maven_install(
# keep sorted
artifacts = [
"com.google.auto.value:auto-value:1.10.1",
"com.google.auto.value:auto-value-annotations:1.10.1",
"com.google.code.findbugs:annotations:3.0.1",
"com.google.errorprone:error_prone_annotations:2.16",
"com.google.guava:guava:31.1-jre",
"com.google.protobuf:protobuf-java:3.21.11",
"com.google.protobuf:protobuf-java-util:3.21.11",
"com.google.protobuf:protobuf-javalite:3.21.11",
"com.google.re2j:re2j:1.7",
"com.google.testparameterinjector:test-parameter-injector:1.10",
"com.google.truth.extensions:truth-java8-extension:1.1.3",
"com.google.truth.extensions:truth-proto-extension:1.1.3",
"com.google.truth:truth:1.1.3",
"org.antlr:antlr4-runtime:4.11.1",
"org.jspecify:jspecify:0.2.0",
"org.threeten:threeten-extra:1.7.1",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
http_archive(
name = "com_google_protobuf",
sha256 = "b1d6dd2cbb5d87e17af41cadb720322ce7e13af826268707bd8db47e5654770b",
strip_prefix = "protobuf-21.11",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v21.11.tar.gz"],
)
# Required by com_google_protobuf
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
# googleapis as of 12/08/2022
http_archive(
name = "com_google_googleapis",
sha256 = "8503282213779a3c230251218c924f385f457a053b4f82ff95d068f71815e558",
strip_prefix = "googleapis-d73a41615b101c34c58b3534c2cc7ee1d89cccb0",
urls = [
"https://github.com/googleapis/googleapis/archive/d73a41615b101c34c58b3534c2cc7ee1d89cccb0.tar.gz",
],
)
load("@com_google_googleapis//:repository_rules.bzl", "switched_rules_by_language")
switched_rules_by_language(
name = "com_google_googleapis_imports",
java = True,
)
# Required by googleapis
http_archive(
name = "rules_pkg",
sha256 = "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2",
urls = [
"https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
],
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()