google-nomulus/third_party/java/dagger/BUILD
jart a063508b5b 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
2016-03-04 21:13:06 -05:00

48 lines
1.1 KiB
Text

licenses(["notice"]) # Apache License 2.0
java_library(
name = "dagger",
exported_plugins = [":component-codegen"],
visibility = ["//visibility:public"],
exports = [":dagger-runtime"],
)
java_library(
name = "dagger-runtime",
exports = [
"@dagger//jar",
"//third_party/java/jsr330_inject",
],
)
java_library(
name = "dagger-producers",
exports = [
"@dagger_producers//jar",
"@guava//jar",
"//third_party/java/jsr330_inject",
],
)
java_library(
name = "dagger-compiler",
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",
],
)
java_plugin(
name = "component-codegen",
processor_class = "dagger.internal.codegen.ComponentProcessor",
deps = [":dagger-compiler"],
)