Skip to content

Commit

Permalink
Remove net8 task version. Fallback to net6. Save space.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Jul 11, 2024
1 parent 56fcf05 commit 7c439f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/IKVM.Maven.Sdk/IKVM.Maven.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@
<PublishPackagePath>tasks\net6.0</PublishPackagePath>
<Pack>true</Pack>
</PublishProjectReference>
<PublishProjectReference Include="..\IKVM.Maven.Sdk.Tasks\IKVM.Maven.Sdk.Tasks.csproj">
<SetTargetFramework>TargetFramework=net8.0</SetTargetFramework>
<PublishTargetPath Condition=" '$(TargetFramework)' == 'net8.0' ">tasks</PublishTargetPath>
<CopyToOutputDirectory Condition=" '$(TargetFramework)' == 'net8.0' ">PreserveNewest</CopyToOutputDirectory>
<PublishPackagePath>tasks\net8.0</PublishPackagePath>
<Pack>true</Pack>
</PublishProjectReference>
</ItemGroup>

<Target Name="MakeGeneratedPropsFile" Outputs="$(IntermediateOutputPath)generated.props" BeforeTargets="_GetPackageFiles">
Expand Down
2 changes: 0 additions & 2 deletions src/IKVM.Maven.Sdk/buildTransitive/IKVM.Maven.Sdk.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
<PropertyGroup>
<MSBuildRuntimeVersion Condition=" '$(MSBuildRuntimeVersion)' == '' ">$([System.Runtime.InteropServices.RuntimeInformation]:: FrameworkDescription.ToString())</MSBuildRuntimeVersion>
<IkvmMavenSdkTaskFolder Condition=" '$(MSBuildRuntimeType)' == 'Core' ">net6.0</IkvmMavenSdkTaskFolder>
<IkvmMavenSdkTaskFolder Condition=" '$(MSBuildRuntimeType)' == 'Core' And $(MSBuildRuntimeVersion.StartsWith('.NET 8')) ">net8.0</IkvmMavenSdkTaskFolder>
<IkvmMavenSdkTaskFolder Condition=" '$(MSBuildRuntimeType)' == 'Core' And $(MSBuildRuntimeVersion.StartsWith('.NET 9')) ">net8.0</IkvmMavenSdkTaskFolder>
<IkvmMavenSdkTaskFolder Condition=" '$(MSBuildRuntimeType)' != 'Core' ">net472</IkvmMavenSdkTaskFolder>
<IkvmMavenSdkTaskFactory Condition=" '$(MSBuildRuntimeType)' == 'Core' "></IkvmMavenSdkTaskFactory>
<IkvmMavenSdkTaskFactory Condition=" '$(MSBuildRuntimeType)' != 'Core' ">TaskHostFactory</IkvmMavenSdkTaskFactory>
Expand Down

0 comments on commit 7c439f8

Please sign in to comment.