Repository navigation
Added gradle plugin that gives dex count every build - #170
Conversation
Is this the Java library only? Am I reading this right (1,078 methods)? |
3773ef8 to
7b3bafe
Compare
tobrun
left a comment
There was a problem hiding this comment.
can we move the code to a dedicated separate gradle file?
|
I've moved the dexcount to dedicated gradle file. |
| testCompile 'junit:junit:4.12' | ||
| } | ||
|
|
||
| apply plugin: 'com.getkeepsafe.dexcount' |
There was a problem hiding this comment.
this line can also be added to gradle-dexcount.gradle
1272d56 to
a49c212
Compare
|
@kkaefer Would it be possible to hook up the number of methods (also of importance on Android) computed by this plugin to a chart like https://mapbox.github.io/mapbox-gl-native/metrics/binary-size/ using the same infrastructure? |
|
Yeah, the workflow is:
To publish metrics, run something like this: I'm not sure we need a |
Added this gradle plugin which will output the dex method count every time you build the testapp. Output looks like this:
it also outputs a bunch of cool stuff here:
libandroid/app/build/outputs/dexcountIncluding an interactive chart you can open in browser:and a list with the package and method count for each:
This was run today August 7th on the libandroid module, Not sure if you can run for just the libjava as it depends on the android plugin.
cc: @zugaldia