Skip to content

Commit

Permalink
Shade AutoCommon in the SPI artifact
Browse files Browse the repository at this point in the history
Fixes #994

RELNOTES=Fix a NoClassDefFound issue with `2.14`

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=179589702
  • Loading branch information
ronshapiro committed Dec 19, 2017
1 parent 87435d6 commit 4a202b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@ jarjar_library(
],
)

jarjar_library(
name = "shaded_spi",
rules_file = "shade_rules.txt",
deps = [
"//java/dagger/model",
"@com_google_auto_auto_common//jar",
],
)

jarjar_library(
name = "shaded_compiler_src",
rules_file = "merge_all_rules.txt",
Expand Down
2 changes: 1 addition & 1 deletion util/execute-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ deploy_library \
dagger-producers.pom.xml

deploy_library \
java/dagger/model/libmodel.jar \
shaded_spi.jar \
java/dagger/model/libmodel-src.jar \
java/dagger/model/model-javadoc.jar \
dagger-spi.pom.xml
Expand Down

0 comments on commit 4a202b7

Please sign in to comment.