Assuming a “project A” generates both static and shared artifact, how do I select which one to use when consuming
// Project A
group = "com.whatever"
library {
linkage = [ Linkage.SHARED, Linkage.STATIC]
}
// Project B
library {
linkage = [ Linkage.SHARED ]
dependencies {
api("com:whatever:projectA") // How do I select linkage here?
}
}
Looks like it currently defaults to Shared since projectB is using a shared linkage.