Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit ef90ac3

Browse files
committed
Fix encoding of files during tests
Fixes an issue where on windows, file were not decoded with UTF-8
1 parent b5866bb commit ef90ac3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ allprojects {
1515
sourceCompatibility = 1.8
1616
targetCompatibility = 1.8
1717

18+
tasks.withType(JavaCompile) {
19+
options.encoding = 'UTF-8'
20+
}
21+
22+
tasks.withType(Test) {
23+
systemProperty 'file.encoding', 'UTF-8'
24+
}
25+
1826
group = 'org.neo4j.shell'
1927
version = '1.0.0-SNAPSHOT'
2028

0 commit comments

Comments
 (0)