Use repository instead of file as dependency