mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-01 06:35:17 +00:00
Specify explicit UTF-8 encoding for compilation
UTF-8 is the default file encoding on some platforms (e.g. OS X), but for other platforms (e.g. Windows), UTF-8 characters in classes like ECKey cause errors during compilation on other platforms (e.g. Windows). See http://pastebin.com/X9jEemje for examples of these errors. This commit configures Gradle to explicitly use UTF-8 encoding for all compilation tasks.
This commit is contained in:
parent
36e266b102
commit
d54b65f398
@ -10,6 +10,10 @@ subprojects {
|
|||||||
group = 'org.ethereum'
|
group = 'org.ethereum'
|
||||||
version = '0.7.14-SNAPSHOT'
|
version = '0.7.14-SNAPSHOT'
|
||||||
|
|
||||||
|
tasks.withType(Compile) {
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user