Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the problem where some Windows developers are unable to build pro…
…ject (#4844) #### What type of PR is this? /kind bug /area core #### What this PR does / why we need it: Currently, some Windows developers using GBK as character encoding are unable to build project, please see #4771 for more. Because the source code are using UTF-8 character encoding, the `javadoc`, `compileJava`, `compileTestJava` and `delombok` tasks will use the default character encoding GBK to handle the sources, which prevents the `:api:javadoc` task from running properly. At the same time, we thank to @DaiYuANg for his first proposed solution in #4517. #### Which issue(s) this PR fixes: Fixes #4771 #### Special notes for your reviewer: Validate the result by executing command `./gradlew clean build -x check` on Windows environment. #### Does this PR introduce a user-facing change? ```release-note 修复在部分 Windows 开发者无法正常构建 Halo 的问题 ```
- Loading branch information