Skip to content

Commit

Permalink
use centralized package management
Browse files Browse the repository at this point in the history
  • Loading branch information
kookxiang committed Oct 6, 2024
1 parent 9f6703a commit beddecf
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 19 deletions.
16 changes: 16 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="AnitomySharp" Version="0.2.0" />
<PackageVersion Include="Fastenshtein" Version="1.0.10" />
<PackageVersion Include="Jellyfin.Controller" Version="10.9.11" />
<PackageVersion Include="MediaBrowser.Server.Core" Version="4.9.0.14-beta" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageVersion Include="MSTest.TestFramework" Version="3.0.2" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="System.IO.Pipelines" Version="6.0.0" />
</ItemGroup>
</Project>
8 changes: 2 additions & 6 deletions Emby.Plugin.Bangumi/Emby.Plugin.Bangumi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MediaBrowser.Server.Core" Version="4.9.0.12-beta" />
<PackageReference Include="System.IO.Pipelines" IncludeAssets="compile" Version="6.0.0" />
<PackageReference Include="MediaBrowser.Server.Core" />
<PackageReference Include="System.IO.Pipelines" IncludeAssets="compile" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -41,8 +41,4 @@
<EmbeddedResource Include="Configuration\ConfigPage.html" />
<EmbeddedResource Include="Configuration\ConfigPage.js" />
</ItemGroup>

<Target Name="Release" AfterTargets="Build" Condition="'$(Configuration)'=='Release'">
<Copy SourceFiles="$(OutputPath)$(AssemblyName).dll" DestinationFolder="$(MSBuildProjectDirectory)/.." />
</Target>
</Project>
12 changes: 6 additions & 6 deletions Jellyfin.Plugin.Bangumi.Test/Jellyfin.Plugin.Bangumi.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Jellyfin.Controller" Version="10.9.0-*"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0"/>
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1"/>
<PackageReference Include="MSTest.TestFramework" Version="3.0.2"/>
<ProjectReference Include="..\Jellyfin.Plugin.Bangumi\Jellyfin.Plugin.Bangumi.csproj"/>
<PackageReference Include="Jellyfin.Controller" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="MSTest.TestFramework" />
<ProjectReference Include="..\Jellyfin.Plugin.Bangumi\Jellyfin.Plugin.Bangumi.csproj" />
</ItemGroup>

</Project>
</Project>
5 changes: 5 additions & 0 deletions Jellyfin.Plugin.Bangumi.Test/Mock/MockedLibraryManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ public Task ValidateMediaLibrary(IProgress<double> progress, CancellationToken c
throw new NotImplementedException();
}

public Task ValidateTopLibraryFolders(CancellationToken cancellationToken, bool removeRoot = false)
{
throw new NotImplementedException();
}

public Task UpdateImagesAsync(BaseItem item, bool forceUpdate = false)
{
throw new NotImplementedException();
Expand Down
14 changes: 7 additions & 7 deletions Jellyfin.Plugin.Bangumi/Jellyfin.Plugin.Bangumi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AnitomySharp" Version="0.2.0"/>
<PackageReference Include="Fastenshtein" Version="1.0.0.8"/>
<PackageReference Include="Jellyfin.Controller" IncludeAssets="compile" Version="10.9.0-*"/>
<PackageReference Include="Newtonsoft.Json" IncludeAssets="compile" Version="13.0.3"/>
<PackageReference Include="AnitomySharp" />
<PackageReference Include="Fastenshtein" />
<PackageReference Include="Jellyfin.Controller" IncludeAssets="compile" />
<PackageReference Include="Newtonsoft.Json" IncludeAssets="compile" />
</ItemGroup>

<ItemGroup>
<None Remove="Configuration\configPage.html"/>
<EmbeddedResource Include="Configuration\ConfigPage.html"/>
<None Remove="Configuration\configPage.html" />
<EmbeddedResource Include="Configuration\ConfigPage.html" />
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="Jellyfin.Plugin.Bangumi.Test"/>
<InternalsVisibleTo Include="Jellyfin.Plugin.Bangumi.Test" />
</ItemGroup>
</Project>

0 comments on commit beddecf

Please sign in to comment.