build deal dependencies first