Files
gerrit/lib/guice/BUCK
Shawn Pearce bd5629718f Update buck build for strict dependencies
java_library() targets must now list every dependency they need for
an import. This permits buck to run more targets in parallel as it
has a better view of the dependency graph, and opens the door for
buck to make even more optimizations in the future.

Change-Id: I132bf47a725e44ba5950ba6ca76bfa72c3876906
2013-05-16 01:14:27 +00:00

63 lines
1.3 KiB
Python

include_defs('//lib/maven.defs')
VERSION = '3.0'
EXCLUDE = [
'META-INF/DEPENDENCIES',
'META-INF/LICENSE',
'META-INF/NOTICE',
]
java_library(
name = 'guice',
deps = [
':guice_library',
':javax-inject',
],
export_deps = True,
visibility = ['PUBLIC'],
)
maven_jar(
name = 'guice_library',
id = 'com.google.inject:guice:' + VERSION,
sha1 = '9d84f15fe35e2c716a02979fb62f50a29f38aefa',
license = 'Apache2.0',
deps = [':aopalliance'],
exclude = EXCLUDE,
visibility = [],
)
maven_jar(
name = 'guice-assistedinject',
id = 'com.google.inject.extensions:guice-assistedinject:' + VERSION,
sha1 = '544449ddb19f088dcde44f055d30a08835a954a7',
license = 'Apache2.0',
deps = [':guice'],
exclude = EXCLUDE,
)
maven_jar(
name = 'guice-servlet',
id = 'com.google.inject.extensions:guice-servlet:' + VERSION,
sha1 = '610cde0e8da5a8b7d8efb8f0b8987466ffebaaf9',
license = 'Apache2.0',
deps = [':guice'],
exclude = EXCLUDE,
)
maven_jar(
name = 'aopalliance',
id = 'aopalliance:aopalliance:1.0',
sha1 = '0235ba8b489512805ac13a8f9ea77a1ca5ebe3e8',
license = 'PublicDomain',
visibility = ['//lib/guice:guice'],
)
maven_jar(
name = 'javax-inject',
id = 'javax.inject:javax.inject:1',
sha1 = '6975da39a7040257bd51d21a231b76c915872d38',
license = 'Apache2.0',
visibility = ['//lib/guice:guice'],
)