Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] JavaTypeSystem & XML Adjuster (#6444)
Context: xamarin/java.interop@f658ab2 In commit 43243b4 we added the `$(_AndroidUseJavaLegacyResolver)` MSBuild property to the `<BindingsGenerator/>` MSBuild task, to allow users to use the older "API XML Adjuster" instead of the new `Java.Interop.Tools.JavaTypeSystem.dll` infrastructure added in xamarin/java.interop@f658ab26. However, we call `generator` twice during the build: once for `ApiXmlAdjuster`, and once to generate C# code, but we only added the the `$(_AndroidUseJavaLegacyResolver)` to the "generate C# code" case. Update the `_ExportJarToXml` target so that `$(_AndroidUseJavaLegacyResolver)` is used in the `ApiXmlAdjuster` scenario, which is where it is primarily needed.
- Loading branch information