gerrit/gerrit-extension-api/BUCK
David Ostrovsky df36b6a972 Make source JARs for {extension,plugin}-api targets
BUCK is currently lacking native support for source jar generation.
Generate sources JARs for the API manually, until BUCK supports it.

Change-Id: I64fda0fdd82ca3ca37ac46d74e9550b2d9dddb39
2013-05-30 14:27:59 -07:00

15 lines
265 B
Python

SRCS = glob(['src/main/java/com/google/gerrit/extensions/**/*.java'])
java_library2(
name = 'api',
srcs = SRCS,
compile_deps = ['//lib/guice:guice'],
visibility = ['PUBLIC'],
)
java_sources(
name = 'api-src',
srcs = SRCS,
visibility = ['PUBLIC'],
)