diff --git a/gerrit-server/BUCK b/gerrit-server/BUCK index ec91d4962f..71e88820c6 100644 --- a/gerrit-server/BUCK +++ b/gerrit-server/BUCK @@ -59,6 +59,7 @@ java_library( '//lib/jgit:jgit-archive', '//lib/joda:joda-time', '//lib/log:api', + '//lib/log:jsonevent-layout', '//lib/log:log4j', '//lib/lucene:analyzers-common', '//lib/lucene:core', diff --git a/lib/commons/BUCK b/lib/commons/BUCK index fe249fa356..4c77d9b033 100644 --- a/lib/commons/BUCK +++ b/lib/commons/BUCK @@ -41,8 +41,8 @@ maven_jar( maven_jar( name = 'lang', - id = 'commons-lang:commons-lang:2.5', - sha1 = 'b0236b252e86419eef20c31a44579d2aee2f0a69', + id = 'commons-lang:commons-lang:2.6', + sha1 = '0ce1edb914c94ebc388f086c6827e8bdeec71ac2', license = 'Apache2.0', exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'], ) diff --git a/lib/log/BUCK b/lib/log/BUCK index cadc7e7d1c..b332f20e62 100644 --- a/lib/log/BUCK +++ b/lib/log/BUCK @@ -31,3 +31,18 @@ maven_jar( license = 'Apache2.0', exclude = ['META-INF/LICENSE', 'META-INF/NOTICE'], ) + +maven_jar( + name = 'jsonevent-layout', + id = 'net.logstash.log4j:jsonevent-layout:1.7', + sha1 = '507713504f0ddb75ba512f62763519c43cf46fde', + license = 'Apache2.0', + deps = [':json-smart', '//lib/commons:lang'] +) + +maven_jar( + name = 'json-smart', + id = 'net.minidev:json-smart:1.1.1', + sha1 = '24a2f903d25e004de30ac602c5b47f2d4e420a59', + license = 'Apache2.0', +)