gerrit/lib/guice/BUCK
David Pursehouse 629b2b47e2 Update Guice to version 4.0
Fixes a bug [1] which prevented Gerrit startup under Java 8.

[1] https://github.com/google/guice/issues/904

Change-Id: Ie8be80351c06cef77e892725cc7a03663c4c4e02
2015-05-08 10:29:30 +00:00

66 lines
1.5 KiB
Python

include_defs('//lib/maven.defs')
VERSION = '4.0'
EXCLUDE = [
'META-INF/DEPENDENCIES',
'META-INF/LICENSE',
'META-INF/NOTICE',
]
java_library(
name = 'guice',
exported_deps = [
':guice_library',
':javax-inject',
],
visibility = ['PUBLIC'],
)
maven_jar(
name = 'guice_library',
id = 'com.google.inject:guice:' + VERSION,
sha1 = '0f990a43d3725781b6db7cd0acf0a8b62dfd1649',
license = 'Apache2.0',
deps = [':aopalliance'],
exclude_java_sources = True,
exclude = EXCLUDE + [
'META-INF/maven/com.google.guava/guava/pom.properties',
'META-INF/maven/com.google.guava/guava/pom.xml',
],
visibility = ['PUBLIC'],
)
maven_jar(
name = 'guice-assistedinject',
id = 'com.google.inject.extensions:guice-assistedinject:' + VERSION,
sha1 = '8fa6431da1a2187817e3e52e967535899e2e46ca',
license = 'Apache2.0',
deps = [':guice'],
exclude = EXCLUDE,
)
maven_jar(
name = 'guice-servlet',
id = 'com.google.inject.extensions:guice-servlet:' + VERSION,
sha1 = '4503da866f4c402b5090579b40c1c4aaefabb164',
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 = ['PUBLIC'],
)