-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathGelato.csproj
More file actions
36 lines (36 loc) · 1.71 KB
/
Gelato.csproj
File metadata and controls
36 lines (36 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyName>Gelato</AssemblyName>
<Version>0.26.0.0</Version>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Jellyfin.Model" Version="10.11.6" />
<PackageReference Include="Jellyfin.Controller" Version="10.11.6" />
<PackageReference Include="Jellyfin.Common" Version="10.11.6" />
<PackageReference Include="MonoTorrent" Version="3.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.7.0" />
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="9.0.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Config\config.html" />
<!-- Embed all frontend assets so they are delivered with the plugin -->
<EmbeddedResource Include="Frontend\**\*" />
</ItemGroup>
<Target Name="CleanupJellyfinDlls" AfterTargets="Build">
<ItemGroup>
<AllDlls Include="$(OutDir)*.dll" />
<FilesToKeep
Include="
 $(OutDir)Gelato.dll;
 $(OutDir)JellyfinLoaderStub*.dll; 
 $(OutDir)0Harmony.dll; 
 $(OutDir)MonoTorrent*.dll;
 $(OutDir)Mono.Nat.dll;
 $(OutDir)ReusableTasks.dll"
/>
<FilesToDelete Include="@(AllDlls)" Exclude="@(FilesToKeep)" />
</ItemGroup>
<Delete Files="@(FilesToDelete)" />
</Target>
</Project>