Skip to content

Commit

Permalink
[Xamarin.Android.Build.Tasks] remove `MonoRuntimeProvider.Bundled.20.…
Browse files Browse the repository at this point in the history
…java` (#8628)

In .NET 6+, the minimum API level is 21.

We can remove `MonoRuntimeProvider.Bundled.20.java`, as it was mean for devices API 20 and lower.
  • Loading branch information
jonathanpeppers authored Jan 11, 2024
1 parent a34988c commit eac0c3a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 66 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,6 @@
<EmbeddedResource Include="Resources\MonoRuntimeProvider.Bundled.java">
<LogicalName>MonoRuntimeProvider.Bundled.java</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Resources\MonoRuntimeProvider.Bundled.20.java">
<LogicalName>MonoRuntimeProvider.Bundled.20.java</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Resources\proguard_xamarin.cfg">
<LogicalName>proguard_xamarin.cfg</LogicalName>
</EmbeddedResource>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1384,15 +1384,9 @@ because xbuild doesn't support framework reference assemblies.
DependsOnTargets="_CollectRuntimeJarFilenames;$(_BeforeAddStaticResources);_GetMonoPlatformJarPath">
<CopyResource ResourceName="machine.config" OutputPath="$(MonoAndroidIntermediateAssemblyDir)machine.config" />
<CopyResource
Condition=" '$(_AndroidApiLevel)' &gt;= '21' "
ResourceName="MonoRuntimeProvider.Bundled.java"
OutputPath="$(_AndroidIntermediateJavaSourceDirectory)mono\MonoRuntimeProvider.java"
/>
<CopyResource
Condition=" '$(_AndroidApiLevel)' &lt; '21' "
ResourceName="MonoRuntimeProvider.Bundled.20.java"
OutputPath="$(_AndroidIntermediateJavaSourceDirectory)mono\MonoRuntimeProvider.java"
/>
<CreateTypeManagerJava
Condition=" '$(_AndroidUseMarshalMethods)' == 'True' "
ResourceName="JavaInteropTypeManager.java"
Expand Down

0 comments on commit eac0c3a

Please sign in to comment.