Skip to content

Commit

Permalink
Enable central package management
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Khobotov authored and amphasis committed Aug 31, 2024
1 parent 6f4b0fa commit 1979de2
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Amphasis.Azure.WebPortal/Amphasis.Azure.WebPortal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@


<ItemGroup>
<PackageReference Include="Amphasis.SimaLand" Version="1.1.13" />
<PackageReference Include="AspNet.Security.OAuth.MailRu" Version="8.0.0" />
<PackageReference Include="AspNet.Security.OAuth.Vkontakte" Version="8.0.0" />
<PackageReference Include="AspNet.Security.OAuth.Yandex" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.3" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.2" />
<PackageReference Include="SkiaSharp" Version="2.88.7" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.4.1" />
<PackageReference Include="Amphasis.SimaLand" />
<PackageReference Include="AspNet.Security.OAuth.MailRu" />
<PackageReference Include="AspNet.Security.OAuth.Vkontakte" />
<PackageReference Include="AspNet.Security.OAuth.Yandex" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" />
<PackageReference Include="SkiaSharp" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" />
</ItemGroup>

</Project>
3 changes: 2 additions & 1 deletion Amphasis.Azure.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ VisualStudioVersion = 17.9.34714.143
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amphasis.Azure.WebPortal", "Amphasis.Azure.WebPortal\Amphasis.Azure.WebPortal.csproj", "{79F4B347-9FDF-4545-AFF5-BF6D1A52839C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{45D72010-48B6-4155-ABEC-BD2CB5CF6CC9}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CentralPackageManagement", "CentralPackageManagement", "{45D72010-48B6-4155-ABEC-BD2CB5CF6CC9}"
ProjectSection(SolutionItems) = preProject
Directory.Packages.props = Directory.Packages.props
nuget.config = nuget.config
EndProjectSection
EndProject
Expand Down
15 changes: 15 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Amphasis.SimaLand" Version="1.1.13" />
<PackageVersion Include="AspNet.Security.OAuth.MailRu" Version="8.0.0" />
<PackageVersion Include="AspNet.Security.OAuth.Vkontakte" Version="8.0.0" />
<PackageVersion Include="AspNet.Security.OAuth.Yandex" Version="8.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.3" />
<PackageVersion Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.2" />
<PackageVersion Include="SkiaSharp" Version="2.88.7" />
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.4.1" />
</ItemGroup>
</Project>
10 changes: 10 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="nuget.pkg.github.com/amphasis" value="https://nuget.pkg.github.com/amphasis/index.json" protocolVersion="3" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.pkg.github.com/amphasis">
<package pattern="Amphasis.SimaLand" />
</packageSource>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>

0 comments on commit 1979de2

Please sign in to comment.