-
Notifications
You must be signed in to change notification settings - Fork 999
Expand file tree
/
Copy pathMODULE.bazel
More file actions
69 lines (63 loc) · 2.84 KB
/
MODULE.bazel
File metadata and controls
69 lines (63 loc) · 2.84 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
# 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
#
# http://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.
module(name = "j2objc")
bazel_dep(name = "apple_support", version = "1.22.1")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_apple", version = "4.1.2")
bazel_dep(name = "rules_cc", version = "0.1.2")
bazel_dep(name = "rules_java", version = "8.12.0")
bazel_dep(name = "rules_jvm_external", version = "6.3")
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
"com.google.errorprone:error_prone_annotations:2.41.0",
"io.github.eisop:checker-qual:3.27.0-eisop1",
"org.codehaus.mojo:animal-sniffer-annotations:1.24",
"com.google.guava:guava:33.4.8-jre",
"com.google.guava:failureaccess:1.0.3",
"com.google.code.findbugs:jsr305:3.0.2",
"junit:junit:4.13.2",
"com.tngtech.java:junit-dataprovider:1.10.4",
"org.hamcrest:hamcrest-core:1.3",
"org.mockito:mockito-core:5.19.0",
"javax.inject:javax.inject:1",
"com.google.doclava:doclava:1.0.6",
"com.google.jsilver:jsilver:1.0.0",
"com.google.protobuf:protobuf-java:4.32.0",
"com.google.protobuf:protobuf-javalite:4.32.0",
"org.bitbucket.mstrobel:procyon-core:0.6.0",
"org.bitbucket.mstrobel:procyon-compilertools:0.6.0",
"org.plumelib:plume-util:1.11.0",
"com.google.flogger:flogger:0.9",
"com.google.flogger:google-extensions:0.9",
"com.google.flogger:flogger-system-backend:0.9",
"com.google.auto.value:auto-value:1.11.0",
"com.google.auto.value:auto-value-annotations:1.11.0",
"com.google.truth:truth:1.4.4",
"org.jspecify:jspecify:1.0.0",
],
repositories = [
"https://repo1.maven.org/maven2",
],
)
use_repo(maven, "maven")
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "annotation-tools",
sha256 = "c1419ed005a8872c32484539d4d9d8731e79db4621244855f5a460fffbe45c86",
urls = [
"https://github.com/eisop/annotation-tools/releases/download/3.27.0-eisop1/annotation-tools-3.27.0-eisop1.zip"
],
# This injects a BUILD file into the repository after it's extracted,
# making the jar file a valid build target.
build_file_content = """exports_files(["annotation-file-utilities/annotation-file-utilities-all.jar"])""",
)