aboutsummaryrefslogtreecommitdiff
path: root/core/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'core/build.gradle.kts')
-rw-r--r--core/build.gradle.kts11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/build.gradle.kts b/core/build.gradle.kts
index 14718cfe..2ea57e09 100644
--- a/core/build.gradle.kts
+++ b/core/build.gradle.kts
@@ -24,6 +24,17 @@ val sourceJar by tasks.registering(Jar::class) {
from(sourceSets["main"].allSource)
}
+task("copy_search", Copy::class) {
+ from(File(project(":search-component").projectDir, "dist/"))
+ destinationDir = File(sourceSets.main.get().resources.sourceDirectories.singleFile, "dokka/scripts")
+}.dependsOn(":search-component:generateSearchFiles")
+
+tasks {
+ processResources {
+ dependsOn("copy_search")
+ }
+}
+
publishing {
publications {
register<MavenPublication>("dokkaCore") {