xamarin-android-d8-build 0.2.1

dotnet add package xamarin-android-d8-build --version 0.2.1
NuGet\Install-Package xamarin-android-d8-build -Version 0.2.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="xamarin-android-d8-build" Version="0.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xamarin-android-d8-build --version 0.2.1
#r "nuget: xamarin-android-d8-build, 0.2.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install xamarin-android-d8-build as a Cake Addin
#addin nuget:?package=xamarin-android-d8-build&version=0.2.1

// Install xamarin-android-d8-build as a Cake Tool
#tool nuget:?package=xamarin-android-d8-build&version=0.2.1

d8 or r8 compiler support for Xamarin.Android

Xamarin.Android as of b84de80 (which should be in d15-5) makes it possible to alter Dex tool path and arguments enough to switch to new D8 dex compiler in release mode, and e25f843 makes it possible to do it in debug mode.

It is simply done by setting MSBuild properties: DxJarPath and DxExtraArguments (the latter is new in d15-5, so it won't be usable in d15-4 or earlier).

There is a NuGet package that you can just install and add to your Android application project: https://github.com/atsushieno/xamarin-android-d8-build

r8 sources can be found at https://r8.googlesource.com/r8

The LICENSE file is only for r8 itself. I don't believe the rest of this project contains any creative source to make it copyrightable.

r8 or d8?

Both of them are packaged in the NuGet package above, and it is just a matter of which DxJarPath MSBuild property points to. But basically, r8 is a proguard replacement so it will run linking steps too. Add <DesugarWithR8>true</DesugarWithR8> in your .csproj to use r8.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.1 24,554 10/30/2017
0.2.0 924 10/30/2017
0.1.2 1,118 9/8/2017

See github commits, there is not a lot.