Use :only in dependency definition