fix `additional.gradle` support in multisrc generators (#16997)

This commit is contained in:
AwkwardPeak7 2023-07-04 00:12:57 +05:00 committed by GitHub
parent 010d7959c0
commit ab13ebc5ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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 {