SlideShare a Scribd company logo
Android Build
Process
Robolectric, Maven, Gradle and
Travis CI
Build Process - Workflow
Code
Commit
Github
Build
Gradle/Maven
Travis CI
Testing
Robolectric
Deployment
S3/Github
● Setting up Robolectric
● How to write Robolectric Tests
● Challenges
○ Integrating with IDE
○ Points to Remember
Unit Testing Android - Robolectric
● How to setup Maven
● How to write Build Script - POM
○ Maven Dependencies and Plugins
○ Maven Profiles
○ Signing apks
○ Android Library Projects
● Integrating Robolectric, Maven and IDE
● Gotchas
Maven - Simplifying Build Process
● Setting Up Gradle - Android Plugin
● Android Studio and Gradle
● Writing Gradle build - build.gradle
● Testing - How to use Gradle Robolectric
Plugin
● Pain Points
Gradle
● Setting up Travis with Github.
● Configuring Travis - .travis.yml
○ Setting up Android sdk in travis
○ Simulating Different Environments
○ Build Lifecycle
○ Android Library projects - aar (Android Archive)
○ Deploying artifacts to S3/Github
● Important Points
Travis CI
Demo
● Live Demo of the whole Build Process.
● Takeaways

More Related Content

PDF
Code:Nation Tech Stack
PDF
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
PPTX
Up GitLab Presentation 2015
PPTX
MeteorJS - How to start
PDF
Continuous delivery journey - Montgomery county JUG
PDF
Jedi knight
PDF
Groovy android
PDF
Sprachsteuerung mit dem Google Assistant – Add a new User Interface to your P...
Code:Nation Tech Stack
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
Up GitLab Presentation 2015
MeteorJS - How to start
Continuous delivery journey - Montgomery county JUG
Jedi knight
Groovy android
Sprachsteuerung mit dem Google Assistant – Add a new User Interface to your P...

What's hot (20)

PDF
Introducing GitLab (June 2018)
PPTX
GitLab 8.5 Highlights and Step-by-step tutorial
PDF
Spring-batch Groovy y Gradle
PPTX
Git & Github
PDF
PPTX
Geb+spock: let your functional tests live long and prosper
PPTX
Git Going w/ Git
PPTX
Introduction to React
PDF
Introducing CentOS container pipeline
PPTX
Git & GitLab
PPTX
Qt5.pptx
PPTX
Introduction to React Native
PDF
Why you can't ignore GitLab
PPTX
GitLab 8.6 - Release Webcast
PPTX
Introduction to Gitea with Drone
PPTX
A painless self-hosted Git service: Gitea
PDF
Git presentation
PDF
GitLab webcast - Release 8.4
ODP
Gopenflow demo v1 (english)
PDF
It is easy contributing to open source - JCON 2020
Introducing GitLab (June 2018)
GitLab 8.5 Highlights and Step-by-step tutorial
Spring-batch Groovy y Gradle
Git & Github
Geb+spock: let your functional tests live long and prosper
Git Going w/ Git
Introduction to React
Introducing CentOS container pipeline
Git & GitLab
Qt5.pptx
Introduction to React Native
Why you can't ignore GitLab
GitLab 8.6 - Release Webcast
Introduction to Gitea with Drone
A painless self-hosted Git service: Gitea
Git presentation
GitLab webcast - Release 8.4
Gopenflow demo v1 (english)
It is easy contributing to open source - JCON 2020
Ad

Similar to Android build process (1) (20)

PDF
Gradle build automation tool
PDF
Bgoug 2019.11 building free, open-source, plsql products in cloud
PDF
Angular, the New Angular JS
PPTX
Quick workflow of a nodejs api
PPTX
Modern Web-site Development Pipeline
PDF
GeoServer Developers Workshop
PDF
Использование AzureDevOps при разработке микросервисных приложений
PPTX
Node.js Development with Apache NetBeans
PDF
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
PDF
Code-Hub
PPTX
Exploring the power of Gradle in android studio - Basics & Beyond
PDF
Android gradle-build-system-overview
PPTX
[20200720]cloud native develoment - Nelson Lin
PDF
It's a Breeze to develop Apache Airflow (London Apache Airflow meetup)
PPTX
Creating a reasonable project boilerplate
PDF
Who needs containers in a serverless world
PPTX
Deploying Web Apps with PaaS and Docker Tools
PDF
Cross-platform Desktop application with AngularJS and build with Node-webkit
PPTX
Introduction to React Native
PPT
Bootstrapping angular js with bower grunt yeoman
Gradle build automation tool
Bgoug 2019.11 building free, open-source, plsql products in cloud
Angular, the New Angular JS
Quick workflow of a nodejs api
Modern Web-site Development Pipeline
GeoServer Developers Workshop
Использование AzureDevOps при разработке микросервисных приложений
Node.js Development with Apache NetBeans
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Code-Hub
Exploring the power of Gradle in android studio - Basics & Beyond
Android gradle-build-system-overview
[20200720]cloud native develoment - Nelson Lin
It's a Breeze to develop Apache Airflow (London Apache Airflow meetup)
Creating a reasonable project boilerplate
Who needs containers in a serverless world
Deploying Web Apps with PaaS and Docker Tools
Cross-platform Desktop application with AngularJS and build with Node-webkit
Introduction to React Native
Bootstrapping angular js with bower grunt yeoman
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PPT
Teaching material agriculture food technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation theory and applications.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Approach and Philosophy of On baking technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Mobile App Security Testing_ A Comprehensive Guide.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The AUB Centre for AI in Media Proposal.docx
“AI and Expert System Decision Support & Business Intelligence Systems”
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
Teaching material agriculture food technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
NewMind AI Weekly Chronicles - August'25 Week I
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation theory and applications.pdf
Electronic commerce courselecture one. Pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Android build process (1)

  • 2. Build Process - Workflow Code Commit Github Build Gradle/Maven Travis CI Testing Robolectric Deployment S3/Github
  • 3. ● Setting up Robolectric ● How to write Robolectric Tests ● Challenges ○ Integrating with IDE ○ Points to Remember Unit Testing Android - Robolectric
  • 4. ● How to setup Maven ● How to write Build Script - POM ○ Maven Dependencies and Plugins ○ Maven Profiles ○ Signing apks ○ Android Library Projects ● Integrating Robolectric, Maven and IDE ● Gotchas Maven - Simplifying Build Process
  • 5. ● Setting Up Gradle - Android Plugin ● Android Studio and Gradle ● Writing Gradle build - build.gradle ● Testing - How to use Gradle Robolectric Plugin ● Pain Points Gradle
  • 6. ● Setting up Travis with Github. ● Configuring Travis - .travis.yml ○ Setting up Android sdk in travis ○ Simulating Different Environments ○ Build Lifecycle ○ Android Library projects - aar (Android Archive) ○ Deploying artifacts to S3/Github ● Important Points Travis CI
  • 7. Demo ● Live Demo of the whole Build Process. ● Takeaways