使用 Gradle 自动更新文档内容 (#4403)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import org.jackhuang.hmcl.gradle.docs.UpdateDocuments
|
||||
|
||||
plugins {
|
||||
id("checkstyle")
|
||||
}
|
||||
@@ -60,3 +62,8 @@ subprojects {
|
||||
org.jackhuang.hmcl.gradle.javafx.JavaFXUtils.register(rootProject)
|
||||
|
||||
defaultTasks("clean", "build")
|
||||
|
||||
|
||||
tasks.register<UpdateDocuments>("updateDocuments") {
|
||||
documentsDir.set(layout.projectDirectory.dir("docs"))
|
||||
}
|
||||
Reference in New Issue
Block a user