LPS-35599 Plugins SDK user should be able to include dependent shared plugns if import.shared ant property is set for shared plugin
LPS-35599 abstract out logic