Composite builds with shadow artifacts

Hi,

Does anybody have experience with composite builds where shadowed artifacts need to be used? From the latest doc, it is not clear to me if a configuration other than default can be somehow specified in the substitutions:

https://docs.gradle.org/current/userguide/composite_builds.html#included_build_substitution_requirements says that the substitution rules must be defined:

When a configuration other than default is published: this usually means a task other than uploadArchives is used.

but then https://docs.gradle.org/current/userguide/composite_builds.html#included_build_substitution_limitations says that the incremental builds will not work:

When a configuration other than default is published.

Any hints?

Thanks,

Predrag

1 Like