Thursday, July 23, 2015

Gradle AutoCodeQA Progress

So I have been composing notes on the particular build system I use for android development at:


and what is exciting is now I am to the point where I can put the codeqa tasks in automate it for use with dagger android projects.

A little background. Android SourceSets under the Gradle build system are not Gradle SourceSets so things like the codeqa plugins within Gradle do not auto-execute as far as recognizing what sourceset they are suppose to analyze.

The other challenge is that you of course want these tools to run when the CI server runs but not when you incrementally writing code. That is quickly solved by integrating with disable PreDex code in that the same command to assemble and disable PreDex for Ci servers also enables the codeqa tool runs.

Than there is 3rd challenge in that you may want the output of JDepend, PMD, Checkstyle, FindBugs, and Android Lint merged which requires coding xslt merge files about 4 or 5 in total.

If you are a funded Chicago or USA start-up its the type of engineering you may want in an Android Developer.(No I do not deal with recruiters)