From 40a0ca41f6a38060d0150fca6d1e0037b651a23b Mon Sep 17 00:00:00 2001 From: Nishant Aanjaney Jalan Date: Wed, 3 Jul 2024 02:11:18 +0100 Subject: [PATCH] refactor: include docs should be shared among subprojects --- build.gradle.kts | 3 +++ core/build.gradle.kts | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 60bfe73..035b71a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -39,6 +39,9 @@ subprojects { remoteUrl.set(URI.create("https://github.com/cybercoder-naj/parkour/tree/main/${project.name}/src").toURL()) remoteLineSuffix.set("#L") } + includes.from(fileTree(projectDir) { + include("**/docs.md") + }) } pluginsMapConfiguration.set( diff --git a/core/build.gradle.kts b/core/build.gradle.kts index bba6458..edf6d56 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -33,9 +33,6 @@ kotlin { tasks.withType().configureEach { dokkaSourceSets.configureEach { moduleName.set("parkour") - includes.from(fileTree(projectDir) { - include("**/docs.md") - }) } }