App size is an important metric which directly correlates with business metrics like install conversion rate. Measuring app size is straightforward, but knowing what contributes to it is not. Especially in bigger projects with hundreds or thousands of modules and third-party dependencies. Ruler provides a convenient way to find out how much each module and dependency contributes to the total size of your app by running a single Gradle task. First you need to add the Ruler Gradle plugin to the buildscript classpath in your top-level build.gradle file. When using app bundles, Google Play will generate optimized APKs for each device. This means that the size of an APK depends on the specifications of the device that's downloading it. You can configure which device specifications should be used for the analysis in the build.gradle of your application module.

Features

  • App size is an important metric which directly correlates with business metrics like install conversion rate
  • Ruler is a Gradle plugin which helps you analyze the size of your Android apps
  • You also have to apply the plugin in the build.gradle of your application module
  • When using app bundles, Google Play will generate optimized APKs for each device
  • Core Gradle plugin where the APK parsing, dependency handling and attribution logic lives
  • Compatible with Gradle 7.0 or above
  • Compatible with Android Gradle Plugin 7.0.0 or above

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Ruler

Ruler Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ruler!

Additional Project Details

Programming Language

Kotlin

Related Categories

Kotlin Frameworks, Kotlin Browser Extensions and Plugins

Registered

2023-02-23