Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Continuous integration for androids

Kirill Zotin
December 19, 2012

Continuous integration for androids

Kirill Zotin

December 19, 2012
Tweet

More Decks by Kirill Zotin

Other Decks in Programming

Transcript

  1. • 1 click build • Every commit is built and

    tested • Fast feedback • Static code analysis • 1st step to Continuous Deployment Continuous integration
  2. Ant • 'Make' for Java • Imperative (tell how to

    compile, run tests, package) • No lifecycle support • No conventions • Easy to extend
  3. • Declarative (describe result) • Default conventions, lifecycles, archetypes •

    Dependencies management! • Repositories! • More difficult :(
  4. Limitations • Dependency management • IDE integration • Different builds

    of same project (Prod/test, proguard on/off, multiple apks) • Maven: Artifacts pushed to Remotes with delays
  5. • The best of 2 worlds! • Power and flexibility

    of ANT • Dependency management and conventions of Maven • Groovy DSL
  6. gradle-android-plugin Goal - easy to: • Reuse code and resources

    • Create several variants of an application, either for multi-apk distribution or for different flavors of an application • Extend and configure the build
  7. gradle-android-plugin Current limitations: • No IDE integration • No support

    for Renderscript • No support of NDK • No support for Proguard • No Lint integration • Etc...
  8. Distribute • Email • Dropbox / Drive • TestFlight /

    Launchpad / ... • Repository managers (Nexus, Archiva)