mirror of https://github.com/halo-dev/halo
![]() #### 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 https://github.com/halo-dev/halo/issues/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 https://github.com/halo-dev/halo/pull/4517. #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/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 的问题 ``` |
||
---|---|---|
.. | ||
src | ||
build.gradle |