[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: File project.tar.gz    

 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).

Generated at Wed Jun 30 11:57:52 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.