dc1547642c
This means we don't have to explicitly include guava and junit as dependencies of any tests that use Truth. By default, Buck builds java_library targets only with first order dependencies; transitive dependencies are not considered. Change-Id: Ibaa67de19c1ab7bb9c2d53f75fff94ca0f9779b5
47 lines
1.2 KiB
Python
47 lines
1.2 KiB
Python
java_library(
|
|
name = 'lib',
|
|
srcs = glob(['src/test/java/com/google/gerrit/acceptance/*.java']),
|
|
exported_deps = [
|
|
'//gerrit-common:annotations',
|
|
'//gerrit-common:server',
|
|
'//gerrit-extension-api:api',
|
|
'//gerrit-launcher:launcher',
|
|
'//gerrit-lucene:lucene',
|
|
'//gerrit-httpd:httpd',
|
|
'//gerrit-pgm:init',
|
|
'//gerrit-pgm:pgm',
|
|
'//gerrit-pgm:util',
|
|
'//gerrit-reviewdb:server',
|
|
'//gerrit-server:server',
|
|
'//gerrit-server/src/main/prolog:common',
|
|
'//gerrit-server:testutil',
|
|
'//gerrit-sshd:sshd',
|
|
|
|
'//lib:args4j',
|
|
'//lib:gson',
|
|
'//lib:gwtjsonrpc',
|
|
'//lib:gwtorm',
|
|
'//lib:h2',
|
|
'//lib:jsch',
|
|
'//lib:servlet-api-3_1',
|
|
'//lib:truth',
|
|
|
|
'//lib/auto:auto-value',
|
|
'//lib/httpcomponents:fluent-hc',
|
|
'//lib/httpcomponents:httpclient',
|
|
'//lib/httpcomponents:httpcore',
|
|
'//lib/log:impl_log4j',
|
|
'//lib/log:log4j',
|
|
'//lib/guice:guice',
|
|
'//lib/guice:guice-assistedinject',
|
|
'//lib/guice:guice-servlet',
|
|
'//lib/jgit:jgit',
|
|
'//lib/jgit:junit',
|
|
'//lib/mina:sshd',
|
|
],
|
|
visibility = [
|
|
'//tools/eclipse:classpath',
|
|
'//gerrit-acceptance-tests/...',
|
|
],
|
|
)
|