Skip to content

Commit f7671a7

Browse files
committed
[XABT] Use a response file for D8 task.
1 parent 78f8863 commit f7671a7

File tree

1 file changed

+4
-1
lines changed
  • src/Xamarin.Android.Build.Tasks/Tasks

1 file changed

+4
-1
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/D8.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.IO;
55
using Xamarin.Android.Tools;
66
using Microsoft.Android.Build.Tasks;
7+
using System.Text;
78

89
namespace Xamarin.Android.Tasks
910
{
@@ -42,11 +43,13 @@ public class D8 : JavaToolTask
4243

4344
public string ExtraArguments { get; set; }
4445

45-
protected override string GenerateCommandLineCommands ()
46+
protected override string GenerateResponseFileCommands ()
4647
{
4748
return GetCommandLineBuilder ().ToString ();
4849
}
4950

51+
protected override Encoding ResponseFileEncoding => Encoding.UTF8;
52+
5053
protected virtual string MainClass => "com.android.tools.r8.D8";
5154

5255
protected int MinSdkVersion { get; set; }

0 commit comments

Comments
 (0)