Skip to content

Latest commit

 

History

History
 
 

APK Size

This directory contains the test app used for measuring binary size for each Firebase Android SDK.

The size measurements displayed in pull requests and on the dashboard are based on the APK files built with this sample app.

Usage

Within the directory firebase-android-sdk/health-metrics/apk-size, run

./gradlew assemble -Psdks=<sdk-1>,<sdk-2>, ... ,<sdk-n>

where an <sdk> is formatted as <groupd-id>:<artifact-id>:<version>. Upon successful builds, APK files will appear in the gradle build output folder (build/outputs/apk).

NOTE: For unpublished SDK artifacts, they need to be staged in a local maven repository (for example, in this project: build/m2repository/) in order for gradle to find them during the build.

Toolchains