Dexcount Gradle Plugin
A Gradle plugin to report the number of method references in your APK, AAR, or java module.
This helps you keep tabs on the growth of your app, with an eye to staying under the 65,536 method-reference limit, and avoiding the headache of eliminating methods or enabling multidex.
For more information, please see the website.
Download
The plugin is available from the Gradle Plugin Portal under the ID com.getkeepsafe.dexcount
, and from Maven Central under the coordinates com.getkeepsafe.dexcount:dexcount-gradle-plugin:2.0.0
.
Snapshot builds are available from the Sonatype Snapshot Repository at https://oss.sonatype.org/content/repositories/snapshots
.
Dexcount requires Java 8 or higher, Gradle 6.0 or higher, and Android Gradle Plugin 3.4.0 or higher.
Credits
The Java code from the com.android.dexdeps
package is sourced from the Android source tree. Inspired by Mihail Parparita's dex-method-counts
project, to whom much credit is due.
Copyright 2015-2020 Keepsafe Software, Inc