0

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.

Feng Yu
  • 1,431
  • 2
  • 18
  • 26

1 Answers1

1

I solved this issue by myself. Just add org.gradle.jvmargs='-Dfile.encoding=UTF-8' to gradle.properties

Feng Yu
  • 1,431
  • 2
  • 18
  • 26