Skip to content

Commit

Permalink
[XABT] Use a response file for D8 task.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpobst committed Nov 22, 2024
1 parent 78f8863 commit f7671a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Xamarin.Android.Build.Tasks/Tasks/D8.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.IO;
using Xamarin.Android.Tools;
using Microsoft.Android.Build.Tasks;
using System.Text;

namespace Xamarin.Android.Tasks
{
Expand Down Expand Up @@ -42,11 +43,13 @@ public class D8 : JavaToolTask

public string ExtraArguments { get; set; }

protected override string GenerateCommandLineCommands ()
protected override string GenerateResponseFileCommands ()
{
return GetCommandLineBuilder ().ToString ();
}

protected override Encoding ResponseFileEncoding => Encoding.UTF8;

protected virtual string MainClass => "com.android.tools.r8.D8";

protected int MinSdkVersion { get; set; }
Expand Down

0 comments on commit f7671a7

Please sign in to comment.