Skip to content

Commit

Permalink
Get dossier to build with the latest version of bazel (0.5.1)
Browse files Browse the repository at this point in the history
-  Add missing dep to src/java/com/github/jsdossier/testing
-  Add generates_api=1 to //lib/maven:auto_factory_plugin
   This is required to ensure bazel schedules actions in the correct order,
   otherwise it will complain about unresolved symbols from the generated code.

Fixes #102
  • Loading branch information
jleyba committed Jun 14, 2017
1 parent 67ccd65 commit a4f2d0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/maven/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ java_library(

java_plugin(
name = "auto_factory_plugin",
generates_api = 1,
processor_class = "com.google.auto.factory.processor.AutoFactoryProcessor",
visibility = ["//visibility:private"],
deps = [
Expand Down
1 change: 1 addition & 0 deletions src/java/com/github/jsdossier/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ java_library(
deps = [
"//lib/maven:auto_value",
"//lib/maven:closure_compiler",
"//lib/maven:closure_templates",
"//lib/maven:guava",
"//lib/maven:guice",
"//lib/maven:inject",
Expand Down

0 comments on commit a4f2d0a

Please sign in to comment.