-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not ready for non-English users #7
Comments
Actually all the guides that use the spring-boot-starter-parent already have this set. So this one for sure must have? |
Well, I can't comment now. I have not tried spring-boot version since then. |
Yes you should be able to set the encoding in the Spring Boot Gradle plugin. I haven't really looked at the source of the Spring Boot plugin so I'm not sure exactly how it would be integrated (i.e. I don't know what assumptions the plugin makes which may make setting the property easier/harder). I'm guessing @philwebb would be able to do this fairly quickly since I think he wrote much of the plugin. |
I would prefer something more comprehensive than editing each individual build.gradle file, you know? |
It looks to me like that change was merged in 1.1.x somewhere, so this is now working in Maven and Gradle. |
Thank you for great work on guides.
Most of guides build do not have source encoding set:
for maven
and for gradle
[ compileJava, compileTestJava ]*.options*.encoding = 'UTF-8'
http://www.romseysoftware.co.uk/2012/03/12/gradle-and-utf-8/
The text was updated successfully, but these errors were encountered: