Apk dependency graph generator
Gradle plugin for generating apk dependency graph
Usage
Install plugin
In your app build.gradle
plugins {
id "com.acterics.apk-dependency-graph-generator" version "0.12.0"
}
or
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.acterics:plugin:0.12.0"
}
}
apply plugin: "com.acterics.apk-dependency-graph-generator"
Configure plugin
apkDependencyGraph {
filterPackage = "com.acterics"
includeInnerClasses = false
apkPath = "${project.buildDir.absolutePath}/outputs/apk/debug/sample-debug.apk"
}
Build graph
Run
./gradlew app:buildGraph
Finally open $buildSrc/apk-dependency-graph/index.html
Sample
Credits
Thanks to Alex Zaitsev and his apk-dependency-graph. This project rewrites his library to Kotlin and wrap in gradle plugin.