Skip to content

Commit b2cf414

Browse files
authored
Set extractor encoding to UTF-8
When compiling the extractor on Windows, you get more than 100 errors with the message error: unmappable character for encoding Cp1252, especially in timeago-parser tasks. This commit fixes it by setting the encoding for all compileJava and compileTestJava tasks to UTF-8.
1 parent a9aa385 commit b2cf414

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ allprojects {
22
apply plugin: 'java-library'
33
apply plugin: 'maven'
44

5+
compileJava.options.encoding = 'UTF-8'
6+
compileTestJava.options.encoding = 'UTF-8'
7+
58
sourceCompatibility = 1.8
69
targetCompatibility = 1.8
710

0 commit comments

Comments
 (0)