Hello,
Is it possible to fetch gradle dependencies from private repo with ssh ?
example :
//settings.gradle
sourceControl {
gitRepository("<ssh://git@my.privaterepo.com/Nicolas/common.git>") {
producesModule("my.private.lib:common")
}
}
//build.gradle
implementation 'my.private.lib:com'
When i try to build i got the following error with gradle :
Could not run ls-remote for <ssh://git>@my.privaterepo.com/Nicolas/common.git
<ssh://git>@my.privaterepo.com/Nicolas/common.git: Auth fail
<ssh://git>@my.privaterepo.com/Nicolas/common.git: Auth fail
Auth fail
Maybe i need to fix something with my ssh key ?