Tidy up dependencies Remove gson and commons-lang. These are provided by the plugin API, so it's not necessary to explicitly depend on them. Move the commons-io and commons-codec definitions to the root BUCK file. Change-Id: I5df79e8c1468ef566b06059d6f40e772e2ca74b2
diff --git a/BUCK b/BUCK index f2901e3..6c1c5bd 100644 --- a/BUCK +++ b/BUCK
@@ -14,14 +14,10 @@ ], deps = [ ':amqp-client', + ':commons-codec', ':commons-io', ':guice-multibindings', ], - provided_deps = [ - '//lib:gson', - '//lib/commons:codec', - '//lib/commons:lang', - ], ) java_library( @@ -30,12 +26,11 @@ ) maven_jar( - name = 'amqp-client', - id = 'com.rabbitmq:amqp-client:3.5.2', - sha1 = '8d10edd29e08f78349bd1da9d18f81c9f8b90567', - license = 'MPL1.1', - exclude_java_sources = True, - visibility = [], + name = 'commons-codec', + id = 'commons-codec:commons-codec:1.4', + sha1 = '4216af16d38465bbab0f3dff8efa14204f7a399a', + license = 'Apache2.0', + exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'], ) maven_jar( @@ -46,6 +41,15 @@ ) maven_jar( + name = 'amqp-client', + id = 'com.rabbitmq:amqp-client:3.5.2', + sha1 = '8d10edd29e08f78349bd1da9d18f81c9f8b90567', + license = 'MPL1.1', + exclude_java_sources = True, + visibility = [], +) + +maven_jar( name = 'guice-multibindings', id = 'com.google.inject.extensions:guice-multibindings:4.0', sha1 = 'f4509545b4470bbcc865aa500ad6fef2e97d28bf',
diff --git a/lib/BUCK b/lib/BUCK index 06f7c02..07a8031 100644 --- a/lib/BUCK +++ b/lib/BUCK
@@ -1,8 +1 @@ include_defs('//bucklets/maven_jar.bucklet') - -maven_jar( - name = 'gson', - id = 'com.google.code.gson:gson:2.3.1', - sha1 = 'ecb6e1f8e4b0e84c4b886c2f14a1500caf309757', - license = 'Apache2.0', -)
diff --git a/lib/commons/BUCK b/lib/commons/BUCK deleted file mode 100644 index 7b7f70f..0000000 --- a/lib/commons/BUCK +++ /dev/null
@@ -1,24 +0,0 @@ -include_defs('//bucklets/maven_jar.bucklet') - -maven_jar( - name = 'codec', - id = 'commons-codec:commons-codec:1.4', - sha1 = '4216af16d38465bbab0f3dff8efa14204f7a399a', - license = 'Apache2.0', - exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'], -) - -maven_jar( - name = 'lang', - id = 'commons-lang:commons-lang:2.5', - sha1 = 'b0236b252e86419eef20c31a44579d2aee2f0a69', - license = 'Apache2.0', - exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'], -) - -maven_jar( - name = 'io', - id = 'commons-io:commons-io:1.4', - sha1 = 'a8762d07e76cfde2395257a5da47ba7c1dbd3dce', - license = 'Apache2.0', -)