GithubHelp home page GithubHelp logo

guoyu07 / gradle-init-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ffgiff/gradle-init-scripts

0.0 0.0 0.0 196 KB

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

License: GNU Affero General Public License v3.0

Groovy 100.00%

gradle-init-scripts's Introduction

Gradle init scripts for Android

Build Status

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

  • Static checkers
    • Checkstyle
    • Findbugs
    • 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 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

gradle-init-scripts's People

Contributors

vertu20140207 avatar ffgiff avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.