Migrate dependency definitions into separate file from core build.