forked from bazel-contrib/rules_jvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
79 lines (69 loc) · 3.02 KB
/
BUILD.bazel
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
load("@bazel_gazelle//:def.bzl", "DEFAULT_LANGUAGES", "gazelle", "gazelle_binary")
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
buildifier(
name = "buildifier",
visibility = ["//visibility:private"],
)
# gazelle:java_maven_install_file frozen_deps_install.json
# gazelle:prefix github.com/bazel-contrib/rules_jvm
# gazelle:repository go_repository name=org_golang_x_tools_go_vcs importpath=golang.org/x/tools/go/vcs
# gazelle:resolve java com.beust.jcommander @contrib_rules_jvm_deps//:com_beust_jcommander
# gazelle:resolve java com.beust.jcommander.converters @contrib_rules_jvm_deps//:com_beust_jcommander
# gazelle:resolve java com.gazelle.java.javaparser.v0 //java/gazelle/private/javaparser/proto/gazelle/java/javaparser/v0:gazelle_java_build_v0_java_library
# gazelle:resolve java com.google.common.annotations @contrib_rules_jvm_deps//:com_google_guava_guava
# gazelle:resolve java com.google.common.base @contrib_rules_jvm_deps//:com_google_guava_guava
# gazelle:resolve java com.google.common.collect @contrib_rules_jvm_deps//:com_google_guava_guava
# gazelle:resolve java com.google.errorprone.annotations.concurrent @contrib_rules_jvm_deps//:com_google_errorprone_error_prone_annotations
# gazelle:resolve java com.google.gson @contrib_rules_jvm_deps//:com_google_code_gson_gson
# gazelle:resolve java io.grpc @contrib_rules_jvm_deps//:io_grpc_grpc_api
# gazelle:resolve java io.grpc.protobuf.services @contrib_rules_jvm_deps//:io_grpc_grpc_services
# gazelle:resolve java io.grpc.stub @contrib_rules_jvm_deps//:io_grpc_grpc_stub
# gazelle:resolve java javax.annotation @contrib_rules_jvm_deps//:com_google_code_findbugs_jsr305
# gazelle:resolve java org.apache.commons.cli @contrib_rules_jvm_deps//:commons_cli_commons_cli
# gazelle:resolve java org.junit.jupiter.api @maven//:org_junit_jupiter_junit_jupiter_api
# gazelle:resolve java org.slf4j @contrib_rules_jvm_deps//:org_slf4j_slf4j_api
gazelle(
name = "gazelle",
gazelle = ":gazelle_bin",
visibility = ["//visibility:private"],
)
gazelle_binary(
name = "gazelle_bin",
languages = DEFAULT_LANGUAGES + [
"@bazel_skylib_gazelle_plugin//bzl",
"//java/gazelle",
],
)
# This is used in ./tools/update-dependencies.sh to update the go dependencies
# and BUILD files.
gazelle(
name = "gazelle_go",
)
bzl_library(
name = "repositories",
srcs = ["repositories.bzl"],
visibility = ["//visibility:public"],
deps = [
"//java/private:zip_repository",
"@bazel_tools//tools/build_defs/repo:http.bzl",
"@bazel_tools//tools/build_defs/repo:utils.bzl",
],
)
bzl_library(
name = "setup",
srcs = ["setup.bzl"],
visibility = ["//visibility:public"],
deps = [
"@apple_rules_lint//lint:implementation",
"@contrib_rules_jvm_deps//:defs",
],
)
bzl_library(
name = "gazelle_setup",
srcs = ["gazelle_setup.bzl"],
visibility = ["//visibility:public"],
deps = [
"//third_party/go:repositories",
],
)