breskeby / android-demo-app

Android Application used for demoing Android Gradle Build and Android Studio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

android-demo-app Build Status

Android Application used for demoing Android Gradle Build and Android Studio

This application is based on https://github.com/kousen/ICNDB. but will continue do diverge from that base

to demo all kinds of feature of the new gradle based android build system.

PREPARATION

  • clean wrapper directories
  • clean local repositories
  • import demo project in Android Studio
  • start emulator

DEMO

Command Line

  1. ./gradlew projects

    :projects


    Root project


    Root project 'android-demo-app'

    --- Project ':app'

  2. ./gradlew :app:tasks

    • Build tasks
    • Install tasks
    • Verification tasks
    • TODO androidDependencies?
  3. ./gradlew assemble

    • runs multiple tasks
    • compiling, dexing, etc.
    • show different apks in app/build/outputs/apk/
    • run again (show up-to-date)
  4. **android studio

    • run application
    • show build file (dependencies)
    • show sources
  5. ./gradlew build

    • same as assemble
    • runs tests
    • runs lint checks

Android Studio

About

Android Application used for demoing Android Gradle Build and Android Studio


Languages

Language:Groovy 67.3%Language:Java 32.7%