From ab13ebc5ea8e064963c89f87e733003d59e1c132 Mon Sep 17 00:00:00 2001 From: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> Date: Tue, 4 Jul 2023 00:12:57 +0500 Subject: [PATCH] fix `additional.gradle` support in multisrc generators (#16997) --- multisrc/build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/multisrc/build.gradle.kts b/multisrc/build.gradle.kts index 47a76f489..d2626806e 100644 --- a/multisrc/build.gradle.kts +++ b/multisrc/build.gradle.kts @@ -32,6 +32,13 @@ configurations { dependencies { compileOnly(libs.bundles.common) + + // Implements all :lib libraries on the multisrc generator + // Note that this does not mean that generated sources are going to + // implement them too; this is just to be able to compile and generate sources. + rootProject.subprojects + .filter { it.path.startsWith(":lib") } + .forEach(::implementation) } tasks {