title | description | ms.service | ms.topic | ms.date | monikerRange | recommendations |
---|---|---|---|---|---|---|
Gradle Plugins upstream source |
How to add Gradle Plugins upstream source |
azure-devops-artifacts |
conceptual |
03/11/2022 |
<= azure-devops |
true |
[!INCLUDE version-lt-eq-azure-devops]
With Azure Artifacts feeds, you can enable upstream sources to include packages from different public registries such as Gradle Plugins. Once upstream sources are enabled on your feed, Azure Artifacts will save a copy of any package you install from upstream. Azure Artifacts also support other Maven upstream sources such as Maven Central, Google Maven Repository, and JitPack.
Note
Organization-scoped feeds cannot be converted into project-scoped feeds.
-
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 Gradle Plugins (https://plugins.gradle.org/m2/) 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/gradle-plugins.png" alt-text="A screenshot showing how to add Gradle Plugins.":::
To view the packages from Gradle Plugins, select Gradle Plugins from the Source dropdown menu.
:::image type="content" source="./media/packages-gradle-plugins.png" alt-text="A screenshot showing packages from Gradle Plugins.":::
Note
Maven snapshots are not supported with Maven upstream sources.