Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keepsafe/dexcount-gradle-plugin
A Gradle plugin to report the number of method references in your APK on every build.
https://github.com/keepsafe/dexcount-gradle-plugin
android gradle gradle-plugin
Last synced: 1 day ago
JSON representation
A Gradle plugin to report the number of method references in your APK on every build.
- Host: GitHub
- URL: https://github.com/keepsafe/dexcount-gradle-plugin
- Owner: KeepSafe
- License: apache-2.0
- Created: 2015-06-04T03:33:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-31T18:13:42.000Z (about 1 year ago)
- Last Synced: 2024-10-11T20:03:27.053Z (about 1 month ago)
- Topics: android, gradle, gradle-plugin
- Language: Java
- Homepage: https://keepsafe.github.io/dexcount-gradle-plugin/
- Size: 4.28 MB
- Stars: 3,070
- Watchers: 71
- Forks: 250
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Dexcount Gradle Plugin
[![Build Status](https://github.com/KeepSafe/dexcount-gradle-plugin/workflows/CI/badge.svg)](https://github.com/KeepSafe/dexcount-gradle-plugin/actions?query=workflow%3ACI)
[![Android Weekly](http://img.shields.io/badge/Android%20Weekly-%23174-2CB3E5.svg?style=flat)](http://androidweekly.net/issues/issue-174)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Dexcount%20Gradle%20Plugin-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1940)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](https://keepsafe.github.io/dexcount-gradle-plugin/).
## 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:4.0.0`.
Snapshot builds are available from the Sonatype Snapshot Repository at `https://oss.sonatype.org/content/repositories/snapshots`.
Dexcount requires Java 11 or higher, Gradle 7.0 or higher, and Android Gradle Plugin 7.0.0 or higher. (_Building_ the plugin requires Java 17 or higher.)
## Credits
The Java code from the `com.android.dexdeps` package is sourced from the [Android source tree](https://android.googlesource.com/platform/dalvik.git/+/master/tools/dexdeps/).
Inspired by Mihail Parparita's [`dex-method-counts`](https://github.com/mihaip/dex-method-counts) project, to whom much credit is due.Copyright 2015-2023 Keepsafe Software, Inc