Oreilly - Gradle for Android
by | Released August 2015 | ISBN: 9781491941102
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 buildscriptBuild types: create debug-and-release Android application packages (APK), and learn how to sign and prepare a release APKRun tests: test non-user interface components, specifically data access layersUse a third-party UI testing library: test UI components, and run tests on all connected devices simultaneouslyDefine multiple flavors: create different versions of the same application, change images and other resources, and generate multiple APKsIn 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. Show and hide more Publisher resources View/Submit Errata
- Introduction
- Welcome, Why Did Android Choose Gradle? 00:08:27
- Enough Groovy to Get By
- Static vs Dynamic Typing and Basic Syntax 00:09:35
- POGOs 00:11:56
- Collections and Closures 00:14:16
- Accessing a RESTful Web Service 00:06:53
- Gradle Basics
- Simple Gradle Build for a Java Project 00:24:07
- Defining Custom Tasks 00:07:28
- Adding Plugins Using a Buildscript 00:07:32
- Multi-Project Builds 00:08:34
- "Hello, World!" Android Application
- A Simple Android App 00:21:45
- Developing and Running a Basic Android App 00:17:56
- Configuring Repositories and Dependencies in Android Studio Builds 00:12:45
- Build Types
- Creating Debug and Release Android Packages 00:15:03
- Running Tests
- Non-UI Testing 00:13:33
- Using a UI Testing Library 00:10:05
- Using Espresso for Testing 00:06:59
- Unit Testing Support 00:07:32
- Defining Multiple Flavors
- Defining And Using Flavors 00:16:03
- Multi-Module Projects
- Android Library Projects 00:19:40
- Conclusions
- Modern Android Development with Gradle and Android Studio 00:06:06
Show and hide more 9781491941102.gradle.for.android.OR.part1.rar
9781491941102.gradle.for.android.OR.part2.rar