From 09fe643e4811c86c0ff56b852f3fb79804a81768 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Thu, 16 May 2019 16:53:57 -0500 Subject: [PATCH] Use "--release" javac option also for tests --- build.gradle | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 886afe2d31a..7d94be836e3 100644 --- a/build.gradle +++ b/build.gradle @@ -251,11 +251,8 @@ subprojects { exclude group: 'javax.mail', module: 'mail' } - compileJava { - options.compilerArgs.addAll(['--release', '8']) - } - tasks.withType(JavaCompile) { + options.compilerArgs.addAll(['--release', '8']) options.encoding = 'UTF-8' } -- 2.39.5