Skip to Content
Gradle for Android (Webcast)
video

Gradle for Android (Webcast)

by Ken Kousen
January 2015
Intermediate to advanced
1h 8m
English
O'Reilly Media, Inc.
Closed Captioning available in German, English, Spanish, French, Japanese, Korean, Portuguese (Portugal, Brazil), Chinese (Simplified), Chinese (Traditional)

Overview

Whether you’re new to Gradle or an experienced Android developer, Java consultant Ken Kousen will help you get better acquainted with the Gradle automated build system. With “enough Groovy to get by,” you’ll learn Groovy’s relationship to Java and how it defines both static and dynamic variables. You’ll also build and run a simple Android app, test it, and modify it to add capabilities. The video includes:

  • Gradle basics: use a Gradle build for a Java project, define custom tasks and insert them into the Gradle directed acyclic graph, and add plugins using a buildscript
  • Build types: create debug-and-release Android application packages (APK), and learn how to sign and prepare a release APK
  • Run tests: test non-user interface components, specifically data access layers
  • Use a third-party UI testing library: test UI components, and run tests on all connected devices simultaneously
  • Define multiple flavors: create different versions of the same application, change images and other resources, and generate multiple APKs

In addition to learning how to build multi-module projects, you’ll also add an Android library project to a top-level project, and use it to access a web service and update the UI.

Ken Kousen, president of Kousen IT, Inc., is a technical trainer, mentor, and consultant in all areas related to Java, specializing in Android, Spring, Hibernate/JPA, Groovy, and Grails. He is the author of Making Java Groovy (Manning) and the upcoming O’Reilly book, Gradle for Android.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Gradle Recipes for Android

Gradle Recipes for Android

Ken Kousen
Java and JVM at OSCON 2012

Java and JVM at OSCON 2012

O'Reilly Media, Inc.

Publisher Resources

ISBN: 9781491925423Errata Page