Skip to content

Gradle init scripts/plug-ins adding checkstyle, findbugs, ktlint, pmd, sonar, doxygen, javadoc, pitest. Static checkers, documentation and mutation testing for arbitrary Android projects.

License

Notifications You must be signed in to change notification settings

ffgiff/gradle-init-scripts

Repository files navigation

Gradle init scripts for Android

Build Status

These init scripts augment an Android build by adding support for:

  • Static checkers
    • Checkstyle
    • Findbugs
    • Ktlint
    • Pmd
    • Sonar
  • Documentation
    • Doxygen
    • Javadoc
  • Test
    • Pitest
  • External APK signing
    • Needs you to write a closure containing your service's logic.
  • Custom keystore APK signing
    • Lets you avoid modifying build.gradle and chooses key for connected device.

Usage

Add checkstyle, findbugs, ktlint and pmd to the standard Android/gradle check task.

./gradlew -I init.groovy build

Upload source and test results to a local sonar server.

./gradlew -I init.groovy sonar

Make some documentation.

./gradlew -I init.groovy javadoc
./gradlew -I init.groovy doxygen

Run mutation tests against your unit tests.

./gradlew -I init.groovy pitest

Install release apk for a project, even though its build.gradle doesn't specify the release key.

./gradlew -I signing-init.groovy installRelease

About

Gradle init scripts/plug-ins adding checkstyle, findbugs, ktlint, pmd, sonar, doxygen, javadoc, pitest. Static checkers, documentation and mutation testing for arbitrary Android projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages