
bdffdea92f
(Adds the Soy library and injects it via EmailArguments, 2016-08-22) set the correct sha1 for version 4.0.0 of this jar, but by the time it was merged, VERSION had been increased to 4.1.0.4d0d2cf9f1
(Merge "Adds the Soy library and injects it via EmailArguments", 2016-08-23) and newer fail to build as a result: Download http://repo1.maven.org/maven2/com/google/inject/extensions/guice-multibindings/4.1.0/guice-multibindings-4.1.0.jar http://repo1.maven.org/maven2/com/google/inject/extensions/guice-multibindings/4.1.0/guice-multibindings-4.1.0.jar: expected f4509545b4470bbcc865aa500ad6fef2e97d28bf received 3b27257997ac51b0f8d19676f1ea170427e86d51 Change-Id: I80398dd6287c693f918382a0ce2c2a39456b01b8
80 lines
1.9 KiB
Python
80 lines
1.9 KiB
Python
include_defs('//lib/maven.defs')
|
|
|
|
VERSION = '4.1.0'
|
|
EXCLUDE = [
|
|
'META-INF/DEPENDENCIES',
|
|
'META-INF/LICENSE',
|
|
'META-INF/NOTICE',
|
|
]
|
|
|
|
java_library(
|
|
name = 'guice',
|
|
exported_deps = [
|
|
':guice_library',
|
|
':javax-inject',
|
|
':multibindings',
|
|
],
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'guice_library',
|
|
id = 'com.google.inject:guice:' + VERSION,
|
|
sha1 = 'eeb69005da379a10071aa4948c48d89250febb07',
|
|
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 = 'af799dd7e23e6fe8c988da12314582072b07edcb',
|
|
license = 'Apache2.0',
|
|
deps = [':guice'],
|
|
exclude = EXCLUDE,
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'guice-servlet',
|
|
id = 'com.google.inject.extensions:guice-servlet:' + VERSION,
|
|
sha1 = '90ac2db772d9b85e2b05417b74f7464bcc061dcb',
|
|
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'],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'multibindings',
|
|
id = 'com.google.inject.extensions:guice-multibindings:' + VERSION,
|
|
sha1 = '3b27257997ac51b0f8d19676f1ea170427e86d51',
|
|
exclude_java_sources = True,
|
|
exclude = EXCLUDE + [
|
|
'META-INF/maven/com.google.guava/guava/pom.properties',
|
|
'META-INF/maven/com.google.guava/guava/pom.xml',
|
|
],
|
|
license = 'Apache2.0',
|
|
visibility = ['PUBLIC']
|
|
)
|