Revert "upgrade google-java-format to 1.8"

This reverts commit 2229468f11.

google-java-format 1.8 is Java 11 only, so we can't use it
as Logstash is supported on Java 8.
This commit is contained in:
Joao Duarte 2020-06-09 18:48:01 +01:00 committed by João Duarte
parent ecbc7aa150
commit 33b6059aab

View file

@ -171,7 +171,10 @@ dependencies {
api files(customJRubyDir + "/maven/jruby-complete/target/jruby-complete-${customJRubyVersion}.jar")
}
implementation group: 'com.google.guava', name: 'guava', version: '24.1.1-jre'
implementation('com.google.googlejavaformat:google-java-format:1.8') {
// WARNING: DO NOT UPGRADE "google-java-format"
// later versions require GPL licensed code in javac-shaded that is
// Apache2 incompatible
implementation('com.google.googlejavaformat:google-java-format:1.1') {
exclude group: 'com.google.guava', module: 'guava'
}
implementation 'org.javassist:javassist:3.26.0-GA'