mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 22:27:31 +00:00
build: 指定 Javadoc 的编码为 UTF-8.
指定编码以防止在不同环境下因编码不同而导致项目构建失败.
This commit is contained in:
parent
45244c1fb1
commit
a55f00edf0
@ -15,4 +15,10 @@ dependencies {
|
||||
|
||||
tasks.getByName<Test>("test") {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<Javadoc> {
|
||||
options {
|
||||
encoding = "UTF-8"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user