Forking UnityEngine.UI and using that fork in my project

I’m aware that I can compile UnityEngine.UI and overwrite the one in the unity install directory.

Is there a way I can make this modified dll specific to a project? (as in, just add it to the Plugins folder in Assets/)?

If you are using the recently released Unity C# source code, the license forbids using the code for anything but reference material. If you’re getting the UnityEngine.UI code through a different means under a different license, then ignore my comment.

I’m referring to the unity open source code on bitbucket: https://bitbucket.org/Unity-Technologies/ui/overview

I made changes to that code locally, and I want to put that compiled dll in my project repository so the whole team uses the same version.