upgrade to guice 3.0 rc2

This commit is contained in:
kimchy 2011-01-10 17:49:39 +02:00
parent d4246da7b3
commit cb8ceb1a39
1 changed files with 5 additions and 4 deletions

View File

@ -4,9 +4,10 @@ archivesBaseName = "$project.archivesBaseName"
dependencies { dependencies {
runtime 'aopalliance:aopalliance:1.0' runtime 'aopalliance:aopalliance:1.0'
runtime 'com.google.inject:guice:2.0' runtime 'javax.inject:javax.inject:1'
runtime 'com.google.inject.extensions:guice-assisted-inject:2.0' runtime 'com.google.inject:guice:3.0-rc2'
runtime 'com.google.inject.extensions:guice-multibindings:2.0' runtime 'com.google.inject.extensions:guice-assistedinject:3.0-rc2'
runtime 'com.google.inject.extensions:guice-multibindings:3.0-rc2'
runtime 'com.google.guava:guava:r07' runtime 'com.google.guava:guava:r07'
runtime 'org.elasticsearch:es-trove:2.1.0' runtime 'org.elasticsearch:es-trove:2.1.0'
@ -37,7 +38,7 @@ jar << {
jarjar(jarfile: jarjarArchivePath) { jarjar(jarfile: jarjarArchivePath) {
zipfileset(src: jar.archivePath) zipfileset(src: jar.archivePath)
configurations.runtime.files.findAll {file -> configurations.runtime.files.findAll {file ->
['mvel', 'jackson', 'joda', 'snakeyaml', 'netty', 'guice', 'aopalliance', 'guava', 'trove', 'jsr166y'].any { file.name.contains(it) } ['mvel', 'jackson', 'joda', 'snakeyaml', 'netty', 'guice', 'javax.inject', 'aopalliance', 'guava', 'trove', 'jsr166y'].any { file.name.contains(it) }
}.each { jarjarFile -> }.each { jarjarFile ->
zipfileset(src: jarjarFile) { zipfileset(src: jarjarFile) {
exclude(name: "META-INF/**") exclude(name: "META-INF/**")