Include repositories from init.gradle in a project created in unit test

Hello,

I’m writing some unit tests for my custom Gradle plugin so I would like to know if there is any way for the project object that I’m creating using ProjectBuilder to have the repositories from the init.gradle script without declaring the repositories manually.

Thanks