Explicitly state source code encoding is UTF-8 in Gradle build files

Original commit: elastic/x-pack-elasticsearch@2f59b2c3a9
This commit is contained in:
David Roberts 2016-09-19 15:00:38 +01:00
parent 1b667b2584
commit f37a86c880
1 changed files with 1 additions and 1 deletions

View File

@ -30,13 +30,13 @@ subprojects {
apply plugin: 'java' apply plugin: 'java'
compileJava.options.encoding = 'UTF-8' compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
group = 'com.prelert' group = 'com.prelert'
version = '2.1.1' version = '2.1.1'
sourceCompatibility = 1.8 sourceCompatibility = 1.8
targetCompatibility = 1.8 targetCompatibility = 1.8
repositories { repositories {
mavenLocal() mavenLocal()
maven { url "http://repo.maven.apache.org/maven2" } maven { url "http://repo.maven.apache.org/maven2" }