IssueRaiser

Source dependencies feature do not support authenticated SSH Git URIs

<!--- Please follow the instructions below. We receive dozens of issues every week, so to stay productive, we will close issues that don't provide enough information. Please open Android-related issues on the Android Issue Tracker at https://source.android.com/source/report-bugs Please open Kotlin DSL-related issues at https://github.com/gradle/kotlin-dsl/issues Please open Gradle Native-related issues at https://github.com/gradle/gradle-native/issues --> <!--- Provide a brief summary of the issue in the title above --> ### Context 've been following the following blog post to use Gradle Source dependencies feature. This is the only document that I could find. https://blog.gradle.org/introducing-source-dependencies ``` sourceControl { gitRepository("https://github.com/gradle/native-samples-cpp-library.git") { producesModule("org.gradle.cpp-samples:utilities") } } ``` Replacing the URl with our private git repository just fails with authentication error and asks me to provide CredentialProvider. I tried with and SSH link and that was also not supported. ### Expected Behavior <!--- If you're describing a bug, tell us what should happen --> <!--- If you're suggesting a change/improvement, tell us how it should work --> Use SSH git links to use source dependencies. This would use the SSH setup already available in the current computer. ### Current Behavior <!--- If describing a bug, tell us what happens instead of the expected behavior --> <!--- If su

Posted by tasomaniac on Jan 16, 2019, 8:01 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

support (Software)

Source dependencies feature do not support authenticated SSH Git URIs

tasomaniacJan 16, 2019, 8:01 AM

<!--- Please follow the instructions below. We receive dozens of issues every week, so to stay productive, we will close issues that don't provide enough information. Please open Android-related issues on the Android Issue Tracker at https://source.android.com/source/report-bugs Please open Kotlin DSL-related issues at https://github.com/gradle/kotlin-dsl/issues Please open Gradle Native-related issues at https://github.com/gradle/gradle-native/issues --> <!--- Provide a brief summary of the issue in the title above --> ### Context 've been following the following blog post to use Gradle Source dependencies feature. This is the only document that I could find. https://blog.gradle.org/introducing-source-dependencies ``` sourceControl { gitRepository("https://github.com/gradle/native-samples-cpp-library.git") { producesModule("org.gradle.cpp-samples:utilities") } } ``` Replacing the URl with our private git repository just fails with authentication error and asks me to provide CredentialProvider. I tried with and SSH link and that was also not supported. ### Expected Behavior <!--- If you're describing a bug, tell us what should happen --> <!--- If you're suggesting a change/improvement, tell us how it should work --> Use SSH git links to use source dependencies. This would use the SSH setup already available in the current computer. ### Current Behavior <!--- If describing a bug, tell us what happens instead of the expected behavior --> <!--- If su

Comments (0)

No comments yet. Start the discussion.

Comment on this issue