template project
TRANSCRIPT
Template Projectautomation, standards, philosophy
Why
• Quick template setup for every new working project or prototype
• Verified list of up-to-date dependencies and examples of usage
High overview
• Three modules - java library, android library and android app
• Information is contextual or easy to find
• Repository contains everything for develop and ship
Gradle files
• settings.gradle, build.grade, grade.properties
• Gradle 2.4, Java 7, API 22, Support libraries 22.1
• Porguard configurations
Versions and extra
• Min API 17
• Java 7, gradle 2.4, android gradle plugin 1.2
• All dependency versions are in parent build.gradle
• gradle.properties (daemon and parallel)
Team workflow
• Dependencies are updated every iteration
• Git flow
• Every feature branch gets Jenkins job
Dependencies
• Support library
• Dagger 2
• OkHttp, Retrofit
• EventBus, OrmLite
• Robolectric, Mockito, Android AssertJ
Future
• Calabash tests template
• Upgrade for just announced android tools
• Robolectric upgrade
• Java 8, RxJava, Kotlin
Q&A
• @jack_martynov
• eugen.martynov at Gmail
Thank you!