[GRADLE-1531] Compile seems to ignore options.encoding Created: 12/May/11 Updated: 04/Jan/13 Resolved: 24/Apr/12 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 1.0-milestone-2 |
| Fix Version/s: | 1.0-milestone-9 |
| Type: | Bug | ||
| Reporter: | Peter Rietzler | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Attachments: |
|
| Description |
|
It seems that setting [compileJava, compileTestJava, compileGroovy, compileTestGroovy].options.encoding = "UTF-8" is ignored. In the attached project, the build fails because the source files contain Unicode characters. Setting the file.encoding system property to UTF-8 solves the problem. |
| Comments |
| Comment by René Gröschke (Inactive) [ 24/Apr/12 ] |
|
seems to be fixed (retested with 1.0-milestone-9 and latest 1.0-rc-1). |