File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -412,8 +412,10 @@ tasks.withType<AbstractPublishToMaven>().configureEach {
412412}
413413// endregion
414414
415- // Fix implicit dependency issue for androidNative*MetadataElements
416- // "Declare an explicit dependency on ':commonizeCInterop' from ':androidNative*MetadataElements' using Task#dependsOn"
417- tasks.matching { it.name.startsWith(" androidNative" ) && it.name.endsWith(" MetadataElements" ) }.configureEach {
415+ // Fix implicit dependency issue for native MetadataElements tasks
416+ // "Declare an explicit dependency on ':commonizeCInterop' from ':*MetadataElements' using Task#dependsOn"
417+ tasks.matching {
418+ it.name.matches(" ^(linux|mingw|androidNative|macos|ios|watchos|tvos).*MetadataElements$" .toRegex())
419+ }.configureEach {
418420 dependsOn(" commonizeCInterop" )
419421}
You can’t perform that action at this time.
0 commit comments