When using maven-publish plugin with MPP project, ...
# multiplatform
b
When using maven-publish plugin with MPP project, how do i publish transitive dependencies metadata? e.g.: I have module A and core module B that depends on A. I publish both and include module B to some project, but module A is not added as module B dependency to that project
i
instead of
implementation project(':a')
use
api project(':a')
. Pretty sure that works with mpp and will hint to the publish task that it is a transitive dependency
b
Yep, that works. Thanks
👍 1