Use gson to make JSON string in proxy log formatter

This is simpler than using fasterxml.jackson.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=224583713
This commit is contained in:
jianglai
2018-12-12 13:22:34 -05:00
parent 57a53db84e
commit a85544b3f6
4 changed files with 81 additions and 97 deletions
-3
View File
@@ -79,9 +79,6 @@ dependencies {
testImplementation project(':third_party')
compile 'com.beust:jcommander:1.48'
maybeRuntime 'com.fasterxml.jackson.core:jackson-core:2.9.6'
maybeRuntime 'com.fasterxml.jackson.core:jackson-annotations:2.8.0'
maybeRuntime 'com.fasterxml.jackson.core:jackson-databind:2.8.5'
compile 'com.google.api-client:google-api-client:1.22.0'
maybeRuntime 'com.google.api-client:google-api-client-appengine:1.22.0'
maybeRuntime 'com.google.api-client:google-api-client-jackson2:1.20.0'
+1 -3
View File
@@ -45,9 +45,6 @@ task deployJar(type: Jar) {
dependencies {
compile 'com.beust:jcommander:1.48'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.9'
compile 'com.fasterxml.jackson.core:jackson-core:2.9.6'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.9'
compile 'com.google.api-client:google-api-client:1.27.0'
compile 'com.google.api-client:google-api-client:1.27.0'
compile 'com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0'
@@ -55,6 +52,7 @@ dependencies {
compile 'com.google.apis:google-api-services-storage:v1-rev86-1.22.0'
compile 'com.google.auto.value:auto-value-annotations:1.6.2'
compile 'com.google.code.findbugs:jsr305:3.0.2'
compile 'com.google.code.gson:gson:2.8.5'
compile 'com.google.dagger:dagger:2.15'
compile 'com.google.flogger:flogger:0.1'
compile 'com.google.guava:guava:27.0-jre'