Hello, Is it possible to fetch gradle dependencies from private repo with ssh ? example : //settin...
n
Hello, Is it possible to fetch gradle dependencies from private repo with ssh ? example : //settings.gradle
Copy code
sourceControl {
    gitRepository("<ssh://git@my.privaterepo.com/Nicolas/common.git>") {
        producesModule("my.private.lib:common")
    }
}
//build.gradle
Copy code
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 ?
g
Probably Gradle Community slack is better place to ask this question (see topic of this channel)
👍 1
People from Gradle team may answer it
n
yes sorry and thank you
g