<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/introducing-source-dependencies-5ske5bcdv" -->

---
title: Introducing source dependencies | daily.dev
description: Gradle 4.10 introduces an experimental feature called source dependencies, which allows builds to automatically check out library source code from Git and...
canonical: https://daily.dev/posts/introducing-source-dependencies-5ske5bcdv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Introducing source dependencies | daily.dev
og:description: Gradle 4.10 introduces an experimental feature called source dependencies, which allows builds to automatically check out library source code from Git and...
og:url: https://daily.dev/posts/introducing-source-dependencies-5ske5bcdv
og:image: https://api.daily.dev/og/posts/5ske5BcDV.png
og:image:alt: Introducing source dependencies
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing source dependencies

**[Gradle Blog](https://daily.dev/sources/gradle-blog)** · 7 min read · 0 upvotes · 0 comments

## Summary

Gradle 4.10 introduces an experimental feature called source dependencies, which allows builds to automatically check out library source code from Git and build binaries locally instead of downloading them from a binary repository. Configuration requires declaring a standard dependency plus a sourceControl block in settings.gradle pointing to the Git repo. The feature is built on top of Gradle's composite build mechanism and supports version tags or branch-based resolution. Key use cases include consuming C++ libraries distributed in source form, using unreleased branches, and building for unsupported platforms. Current limitations include no IDE support (except Xcode for C++), no dependency locking support, and only Git repositories are supported.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.gradle.org/introducing-source-dependencies>

---

Tags: [#c++](https://daily.dev/tags/c++), [#gradle](https://daily.dev/tags/gradle)

[View this post on daily.dev](https://daily.dev/posts/introducing-source-dependencies-5ske5bcdv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Introducing source dependencies","url":"https://daily.dev/posts/introducing-source-dependencies-5ske5bcdv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/introducing-source-dependencies-5ske5bcdv"},"datePublished":"2026-03-16T08:12:51.595Z","dateModified":"2026-03-16T08:20:06.088Z","description":"Gradle 4.10 introduces an experimental feature called source dependencies, which allows builds to automatically check out library source code from Git and...","image":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","thumbnailUrl":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","isAccessibleForFree":true,"articleSection":"Gradle Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Gradle Blog","logo":"https://media.daily.dev/image/upload/s--Mtc4Cp4O--/f_auto,q_auto/v1773648768/logos/gradle-blog?_a=BAMAMiiu0","url":"https://daily.dev/sources/gradle-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/introducing-source-dependencies-5ske5bcdv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"c++,gradle","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Gradle Blog","item":"https://daily.dev/sources/gradle-blog"},{"@type":"ListItem","position":3,"name":"Introducing source dependencies"}]}
```

