aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorAntoine Vinot <antoine.vinot@sonarsource.com>2022-05-13 08:56:02 +0200
committersonartech <sonartech@sonarsource.com>2022-05-20 20:02:46 +0000
commit9fe3af792f17102d3e3264b565defa714e6abebb (patch)
treedb74922c96d427e070a83da51e6b5a930798a851 /build.gradle
parent6b5998b9858c0a15b5b8fa3a7736eea7dc7ab7cd (diff)
downloadsonarqube-9fe3af792f17102d3e3264b565defa714e6abebb.tar.gz
sonarqube-9fe3af792f17102d3e3264b565defa714e6abebb.zip
Force utf-8 encoding for tests
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle3
1 files changed, 3 insertions, 0 deletions
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'