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.
- clean wrapper directories
- clean local repositories
- import demo project in Android Studio
- start emulator
-
./gradlew projects
:projects
Root project
Root project 'android-demo-app'
--- Project ':app'
-
./gradlew :app:tasks
- Build tasks
- Install tasks
- Verification tasks
- TODO androidDependencies?
-
./gradlew assemble
- runs multiple tasks
- compiling, dexing, etc.
- show different apks in app/build/outputs/apk/
- run again (show up-to-date)
-
**android studio
- run application
- show build file (dependencies)
- show sources
-
./gradlew build
- same as assemble
- runs tests
- runs lint checks