From: Antoine Vinot Date: Fri, 13 May 2022 06:56:02 +0000 (+0200) Subject: Force utf-8 encoding for tests X-Git-Tag: 9.5.0.56709~125 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9fe3af792f17102d3e3264b565defa714e6abebb;p=sonarqube.git Force utf-8 encoding for tests --- diff --git a/build.gradle b/build.gradle index 59bd075924c..ea393533d46 100644 --- a/build.gradle +++ b/build.gradle @@ -123,6 +123,9 @@ subprojects { // do not deploy to Artifactory by default artifactoryPublish.skip = true + compileJava.options.encoding = "UTF-8" + compileTestJava.options.encoding = "UTF-8" + def testFixtureSrc = 'src/testFixtures' if (file(testFixtureSrc).exists()) { apply plugin: 'java-test-fixtures'