| title | Jitpack upstream source |
|---|---|
| description | How to add JitPack upstream source |
| ms.service | azure-devops-artifacts |
| ms.topic | how-to |
| ms.date | 03/22/2022 |
| monikerRange | <=azure-devops |
| recommendations | true |
[!INCLUDE version-lt-eq-azure-devops]
With Azure Artifacts, you can consume packages from different public registries such as Maven Central and Google Maven Repository and JitPack. Once you enable upstream sources, Azure Artifacts will save a copy of any package you install from upstream.
-
Select the
at the top right corner to navigate to Feed Settings. -
Select Upstream Sources, and then select Add Upstream.
:::image type="content" source="./media/gradle-upstream-source.png" alt-text="A screenshot showing how to access upstream sources to add a new upstream.":::
-
Select Public source, and then select JitPack (https://jitpack.io/) from the dropdown menu.
-
Select Add when you're done, and then select Save at the top right corner to save your changes.
:::image type="content" source="./media/jitpack-upstream.png" alt-text="A screenshot showing how to add JitPack.":::
To view saved packages from JitPack, select JitPack from the Source dropdown menu.
:::image type="content" source="./media/packages-jitpack.png" alt-text="A screenshot showing how to filter for packages from JitPack":::