แชร์ผ่าน


Gradle Plugins upstream source

TFS 2018

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.

    A screenshot showing how to add Gradle Plugins.

  4. Select Save when you are done.

  5. Select Save at the top right corner to save your changes.

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.