plugin to collect information about the project and save them as json files for easier read and analyse from a CI task.
Provides the following gradle tasks:
createClocJson
: counts the lines of code using AlDanial/cloccreateDependenciesJson
: collects all used dependenciescreateProjectJson
: collects information about the used sdk versionscreateMetaJson
: runs all the task above
Add the following to your build.gradle
:
buildscript {
repositories {
// ...
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.github.smartmobilefactory:Android-MetaJSON-Plugin:X.X'
}
}
apply plugin: 'com.android.application'
// Make sure to apply this plugin *after* the Android plugin
apply plugin: 'com.smartmobilefactory.metajson'