Επεξεργασία

Κοινή χρήση μέσω


Gradle Plugins upstream source

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019

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.

Add Gradle Plugins

  1. Select the gear icon at the top right corner to navigate to Feed Settings.

  2. Select Upstream Sources, and then select Add Upstream.

    A screenshot showing how to access upstream sources to add a new upstream.

  3. Select Public source, and then select Gradle Plugins (https://plugins.gradle.org/m2/) from the dropdown menu.

  4. Select Add when you're done, and then select Save at the top right corner to save your changes.

    A screenshot showing how to add Gradle Plugins.

View saved packages

To view the packages from Gradle Plugins, select Gradle Plugins from the Source dropdown menu.

A screenshot showing packages from Gradle Plugins.

Note

Maven snapshots are not supported with Maven upstream sources.