Skip to content

Commit c8c3964

Browse files
committed
build: add aggregate task for plugin shadow jars
1 parent 56f91d4 commit c8c3964

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ gradle.projectsEvaluated {
2929
project.tasks.named<ShadowJar>("shadowJar").flatMap { it.archiveFile }
3030
}
3131

32+
tasks.register("shadowPluginModules") {
33+
group = "build"
34+
description = "Builds shadow JARs for plugin modules under :plugins."
35+
dependsOn(pluginShadowJarTasks)
36+
}
37+
3238
listOf("runServer", "runDevServer").forEach { taskName ->
3339
(rootProject.findProject(":folia-server")?.tasks?.findByName(taskName) as? JavaExec)?.apply {
3440
dependsOn(pluginShadowJarTasks)

0 commit comments

Comments
 (0)