Added explicit Java source encoding
At my PC javac use codepage CP1251 by default and fails to compile file OsmAnd-java/src/main/java/net/osmand/data/MapObject.java because in line 26 there are some unicode symbols. To fix compilation errors I've added UTF8 encoding configuration to Osmand-java/build.gradle file
This commit is contained in:
parent
515f19fd64
commit
83bf10d600
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ configurations {
|
|||
tasks.withType(JavaCompile) {
|
||||
sourceCompatibility = "1.7"
|
||||
targetCompatibility = "1.7"
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
task collectRoutingResources(type: Sync) {
|
||||
|
|
Loading…
Reference in a new issue