gerrit/gerrit-util-cli/BUCK
Shawn Pearce 3918177c6b Exclude Guava Maven data and javax sources from Guice JARs
Guice 4.0-beta leaked the maven metadata files for Guava when it was
repacked to a private namespace.  This confuses Buck when creating a
combined JAR that has both Guice and Guava.

Guice also leaked the source files for javax.annotation into its
binary JAR files. Buck sometimes finds and extracts these source
files at compile time, creating duplicate versions of the classes.

Change-Id: Iea0a3394530abd8b0853d016b7cb2f5182f82a96
2013-08-06 09:39:50 -07:00

13 lines
243 B
Python

java_library(
name = 'cli',
srcs = glob(['src/main/java/**/*.java']),
deps = [
'//lib:args4j',
'//lib:guava',
'//lib:jsr305',
'//lib/guice:guice',
'//lib/guice:guice-assistedinject',
],
visibility = ['PUBLIC'],
)