Since D8 is part of the R8 project, you can find the artifact under the r8 name. Visit the Google Maven Repository. Look for the com.android.tools:r8 artifact.
If you need the absolute latest version or a customized build, you can compile it yourself: Clone the R8 repository . Use the included script: python tools/gradle.py d8 . The output will be located in build/libs/d8.jar . Key Benefits of D8 Next-generation Dex Compiler Now in Preview d8.jar download
The easiest way to get d8.jar is through the Android Studio SDK Manager. Since D8 is part of the R8 project,
The Maven JAR often has many dependencies. For a standalone executable, it is better to use the version from the SDK Build Tools. d8.jar download