Custom plugins dependency functions in multiplatform targets

Targets dependencies block has different scope then top level dependencies block. And it doesn’t contains plugin specific dependency functions. How I can use them in targets?