Files
meezi/nuget.mirror.config
T

16 lines
658 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!-- NuGet config for CI: routes all restores through the local Nexus mirror.
Usage: dotnet restore --configfile nuget.mirror.config
Nexus fetches from nuget.org on first request, then caches locally.
DO NOT use for local development (mirror must be running on the server). -->
<configuration>
<packageSources>
<clear />
<add key="nexus-nuget" value="http://mirror:8081/repository/nuget-proxy/index.json" protocolVersion="3" />
</packageSources>
<config>
<add key="http_retry_count" value="8" />
<add key="http_retry_delay_milliseconds" value="1000" />
</config>
</configuration>