I find grails -Dfile.encoding=UTF-8 war
is not working for my project, but gradle -Dfile.encoding=UTF-8 assemble
is working. Maybe grails
not pass system properties to gradle ? And what should I do ?
Thanks.
I solved this issue by myself. Just add org.gradle.jvmargs='-Dfile.encoding=UTF-8'
to gradle.properties