Fixed publish plugin, made project deps cause build dependency