Skip to content

Commit 32bc43a

Browse files
committed
fix kdoc Module
1 parent 6e0363a commit 32bc43a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

buildSrc/src/main/kotlin/simbot.dokka-module-configuration.gradle.kts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Project https://github.com/simple-robot/simpler-robot
55
66
*
7-
* This file is part of the Simple Robot Library.
7+
* This file is part of the Simple Robot Library (Alias: simple-robot, simbot, etc.).
88
*
99
* This program is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU Lesser General Public License as published by
@@ -77,10 +77,11 @@ tasks.withType<org.jetbrains.dokka.gradle.DokkaTaskPartial>().configureEach {
7777
} ?: JVMConstants.KT_JVM_TARGET_VALUE
7878

7979
jdkVersion.set(jdkVersionValue)
80-
if (project.file("Module.md").exists()) {
81-
includes.from("Module.md")
82-
} else if (project.file("README.md").exists()) {
83-
includes.from("README.md")
80+
val moduleFile = project.file("Module.md")
81+
if (moduleFile.exists()) {
82+
if (moduleFile.length() > 0) {
83+
includes.from("Module.md")
84+
}
8485
}
8586

8687
sourceLink {

simbot-cores/simbot-core-spring-boot-starter-v2/Module.md

Whitespace-only changes.

0 commit comments

Comments
 (0)