mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 08:57:12 +02:00
Make bazel build fully hermetic
We no longer reference @bazel_tools//third_party. All of our transitive dependencies are now specified explicitly in our WORKSPACE file. I also fixed the way that jar dependencies are exported, so we don't break strict dependency checking. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=116421176
This commit is contained in:
parent
ab26b288c1
commit
a063508b5b
33 changed files with 124 additions and 70 deletions
24
third_party/java/dagger/BUILD
vendored
24
third_party/java/dagger/BUILD
vendored
|
@ -10,34 +10,34 @@ java_library(
|
|||
java_library(
|
||||
name = "dagger-runtime",
|
||||
exports = [
|
||||
"@bazel_tools//third_party:jsr330_inject",
|
||||
"@dagger//jar",
|
||||
"//third_party/java/jsr330_inject",
|
||||
],
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = "dagger-producers",
|
||||
exports = [
|
||||
"@bazel_tools//third_party:guava",
|
||||
"@bazel_tools//third_party:jsr330_inject",
|
||||
"@dagger_producers//jar",
|
||||
"@guava//jar",
|
||||
"//third_party/java/jsr330_inject",
|
||||
],
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = "dagger-compiler",
|
||||
exports = [
|
||||
"@bazel_tools//third_party:auto_common",
|
||||
"@bazel_tools//third_party:auto_service",
|
||||
"@bazel_tools//third_party:auto_value",
|
||||
"@bazel_tools//third_party:gson",
|
||||
"@bazel_tools//third_party:guava",
|
||||
"@bazel_tools//third_party:jsr305",
|
||||
"@bazel_tools//third_party:jsr330_inject",
|
||||
"@dagger_compiler//jar",
|
||||
exports = ["@dagger_compiler//jar"],
|
||||
runtime_deps = [
|
||||
"@gson//jar",
|
||||
"@guava//jar",
|
||||
":dagger-producers",
|
||||
":dagger-runtime",
|
||||
"//third_party/java/auto:auto_common",
|
||||
"//third_party/java/auto:auto_service",
|
||||
"//third_party/java/auto:auto_value",
|
||||
"//third_party/java/javapoet",
|
||||
"//third_party/java/jsr305_annotations",
|
||||
"//third_party/java/jsr330_inject",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue