df36b6a972
BUCK is currently lacking native support for source jar generation. Generate sources JARs for the API manually, until BUCK supports it. Change-Id: I64fda0fdd82ca3ca37ac46d74e9550b2d9dddb39
15 lines
265 B
Python
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'],
|
|
)
|