Skip to content

Commit 40a0ca4

Browse files
refactor: include docs should be shared among subprojects
1 parent 6fc1b5f commit 40a0ca4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ subprojects {
3939
remoteUrl.set(URI.create("https://github.com/cybercoder-naj/parkour/tree/main/${project.name}/src").toURL())
4040
remoteLineSuffix.set("#L")
4141
}
42+
includes.from(fileTree(projectDir) {
43+
include("**/docs.md")
44+
})
4245
}
4346

4447
pluginsMapConfiguration.set(

core/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ kotlin {
3333
tasks.withType<DokkaTaskPartial>().configureEach {
3434
dokkaSourceSets.configureEach {
3535
moduleName.set("parkour")
36-
includes.from(fileTree(projectDir) {
37-
include("**/docs.md")
38-
})
3936
}
4037
}
4138

0 commit comments

Comments
 (0)