aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/build.gradle.kts')
-rw-r--r--plugins/base/build.gradle.kts11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/base/build.gradle.kts b/plugins/base/build.gradle.kts
index 322560c6..4fb8ed9f 100644
--- a/plugins/base/build.gradle.kts
+++ b/plugins/base/build.gradle.kts
@@ -10,6 +10,17 @@ dependencies {
testImplementation(project(":test-tools"))
}
+task("copy_search", Copy::class) {
+ from(File(project(":plugins:base:search-component").projectDir, "dist/"))
+ destinationDir = File(sourceSets.main.get().resources.sourceDirectories.singleFile, "dokka/scripts")
+}.dependsOn(":plugins:base:search-component:generateSearchFiles")
+
+tasks {
+ processResources {
+ dependsOn("copy_search")
+ }
+}
+
publishing {
publications {
register<MavenPublication>("basePlugin") {