build: Move Jetbrains.Annotations to projects

pull/201/head
Robert Dailey 2 years ago
parent 53595fc6ce
commit 2652a5c663

@ -36,10 +36,6 @@
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="All" />
</ItemGroup>
<!-- TEST ONLY PROPERTIES -->
<PropertyGroup Condition="$(ProjectName.EndsWith('.Tests')) Or $(ProjectName.EndsWith('TestLibrary'))">
<IsPackable>false</IsPackable>

@ -2,4 +2,8 @@
<ItemGroup Condition="$(ProjectName.EndsWith('.Tests'))">
<None Remove="TestResults/**/*" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="JetBrains.Annotations" PrivateAssets="All" />
</ItemGroup>
</Project>

@ -9,6 +9,7 @@
<PackageReference Include="Autofac.Extras.AggregateService" />
<PackageReference Include="Autofac.Extras.Ordering" />
<PackageReference Include="AutoMapper.Contrib.Autofac.DependencyInjection" />
<PackageReference Include="JetBrains.Annotations" />
<PackageReference Include="Serilog" />
<PackageReference Include="Serilog.Expressions" />
<PackageReference Include="Serilog.Sinks.Console" />

@ -3,6 +3,7 @@
<PackageReference Include="Autofac" />
<PackageReference Include="FluentValidation" />
<PackageReference Include="Flurl.Http" />
<PackageReference Include="JetBrains.Annotations" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="Serilog" />
<PackageReference Include="Spectre.Console" />

@ -9,6 +9,7 @@
<PackageReference Include="Autofac.Extensions.DependencyInjection" />
<PackageReference Include="AutofacSerilogIntegration" />
<PackageReference Include="GitVersion.MsBuild" PrivateAssets="All" />
<PackageReference Include="JetBrains.Annotations" />
<PackageReference Include="MudBlazor" />
<PackageReference Include="ReactiveUI.Blazor" />
<PackageReference Include="Serilog.AspNetCore" />

@ -1,10 +1,8 @@
using JetBrains.Annotations;
using Recyclarr.TrashLib.Config;
using Recyclarr.TrashLib.Config.Services;
namespace Recyclarr.TrashLib.TestLibrary;
[UsedImplicitly]
public class TestConfig : ServiceConfiguration
{
public override SupportedServices ServiceType => SupportedServices.Sonarr;

@ -9,6 +9,7 @@
<PackageReference Include="FluentValidation" />
<PackageReference Include="Flurl" />
<PackageReference Include="Flurl.Http" />
<PackageReference Include="JetBrains.Annotations" />
<PackageReference Include="morelinq" />
<PackageReference Include="Newtonsoft.Json.Schema" />
<PackageReference Include="Serilog" />

Loading…
Cancel
Save