split dependencies settings and build