Android Gradle Java Multi Module Template Save

Static analysis tools: PMD, Findbugs, Checkstyle, Lint and Jacoco on multi module build with an Android app module, Android library module and a Java module

Project README

Android Gradle Java Multi Module Template

License TravisCI Build Coveralls Coverage Twitter Follow

This demonstrates running source analysis tools(PMD, Findbugs, Checkstyle, Lint and Jacoco) on multi module build with an Android app module, Android library module and a Java module.

Building and Running

This project builds with Gradle and the Android Build tools.

Build the APK:

$ gradlew assembleDebug

Install the APK:

$ gradlew installDebug

Run the App:

$ gradlew runDebug

Testing

Run Junit the Unit Tests per module(debug + release):

$ gradlew test

Run Junit the Unit Tests for android-app and android-library modules:

$ gradlew testDebug

Run Espresso instrumentation tests for android-app and android-library modules:

$ gradlew connectedDebugAndroidTest

Reports

Generate PMD Report per module:

$ gradlew pmd

Generate JacocoReport Test Coverage Report per module:

$ gradlew jacocoReport

Generate FindBugs Report per module:

$ gradlew findBugs

Generate Checkstyle Report per module:

$ gradlew checkstyle

Generate Lint Report for android-app and android-library modules:

$ gradlew lintDebug
Open Source Agenda is not affiliated with "Android Gradle Java Multi Module Template" Project. README Source: jaredsburrows/android-gradle-java-multi-module-template

Open Source Agenda Badge

Open Source Agenda Rating