Skip to content

Commit

Permalink
Use dotnet-public instead of nuget.org (#8931)
Browse files Browse the repository at this point in the history
* Use dotnet-public instead of nuget.org

* Revert MySql.Data to 8.0.31
  • Loading branch information
benjaminpetit authored May 15, 2024
1 parent 2f0e895 commit 146eb7c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<!-- Shared Package Versions -->
<xUnitVersion>2.5.2</xUnitVersion>
<xUnitVersion>2.5.3</xUnitVersion>
<xUnitVersion Condition=" '$(TargetFramework)' == 'netcoreapp3.1' or '$(TargetFramework)' == 'netstandard2.1' ">2.4.2</xUnitVersion>
<xUnitRunnerVersion>2.5.3</xUnitRunnerVersion>
<xUnitRunnerVersion Condition=" '$(TargetFramework)' == 'netcoreapp3.1' or '$(TargetFramework)' == 'netstandard2.1' ">2.4.5</xUnitRunnerVersion>
Expand Down Expand Up @@ -52,8 +52,8 @@
<PackageVersion Include="Azure.Storage.Queues" Version="12.16.0" />
<!-- 3rd party packages -->
<PackageVersion Include="Google.Cloud.PubSub.V1" Version="1.0.0-beta13" />
<PackageVersion Include="AWSSDK.DynamoDBv2" Version="3.7.203.2" />
<PackageVersion Include="AWSSDK.SQS" Version="3.7.200.55" />
<PackageVersion Include="AWSSDK.DynamoDBv2" Version="3.7.300.6" />
<PackageVersion Include="AWSSDK.SQS" Version="3.7.300" />
<PackageVersion Include="Consul" Version="1.6.10.9" />
<PackageVersion Include="Google.Protobuf" Version="3.24.4" />
<PackageVersion Include="protobuf-net" Version="3.2.26" />
Expand All @@ -64,8 +64,8 @@
<!-- Test related packages -->
<PackageVersion Include="FluentAssertions" Version="6.7.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0-preview-23503-02" />
<PackageVersion Include="BenchmarkDotNet" Version="0.13.9" />
<PackageVersion Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.9" />
<PackageVersion Include="BenchmarkDotNet" Version="0.13.12" />
<PackageVersion Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.12" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.4.13" />
<PackageVersion Include="xunit" Version="$(xUnitVersion)" />
<PackageVersion Include="xunit.assert" Version="$(xUnitVersion)" />
Expand All @@ -82,7 +82,7 @@
<PackageVersion Include="Azure.Security.KeyVault.Secrets" Version="4.5.0" />
<PackageVersion Include="NSubstitute" Version="4.4.0" />
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.15" />
<PackageVersion Include="CsCheck" Version="2.10.0" />
<PackageVersion Include="CsCheck" Version="2.14.1" />
<PackageVersion Include="System.Data.SqlClient" Version="4.8.6" />
<PackageVersion Include="Npgsql" Version="8.0.3" />
<PackageVersion Include="MySql.Data" Version="8.0.31" />
Expand Down
14 changes: 5 additions & 9 deletions NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<!-- Feeds to use to restore dependent packages from -->
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
</packageSources>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>

0 comments on commit 146eb7c

Please sign in to comment.