build: 指定 Javadoc 的编码为 UTF-8.

指定编码以防止在不同环境下因编码不同而导致项目构建失败.
This commit is contained in:
LamGC 2022-06-22 15:03:40 +08:00
parent 45244c1fb1
commit a55f00edf0
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -16,3 +16,9 @@ dependencies {
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
tasks.withType<Javadoc> {
options {
encoding = "UTF-8"
}
}