Franklin

Gradle for Android : automate the build process for your Android projects with Gradle / Kevin Pelgrims.

Author/Creator:
Pelgrims, Kevin, author.
Other Title:
Automate the build process for your Android projects with Gradle
Edition:
1st edition
Publication:
Birmingham, England : Packt Publishing, 2015.
Series:
Community experience distilled.
Community Experience Distilled
Format/Description:
Book
1 online resource (172 p.)
Subjects:
Android (Electronic resource).
Application software -- Development.
Smartphones -- Programming.
Gradle (Computer file).
Form/Genre:
Electronic books.
Language:
English
System Details:
text file
Summary:
If you are an experienced Android developer wanting to enhance your skills with the Gradle Android build system, then this book is for you. As a prerequisite, you will need some knowledge of the concepts of Android application development.
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Gradle and Android Studio; Android Studio; Staying up to date; Understanding Gradle basics; Projects and tasks; The build lifecycle; The build configuration file; Creating a new project; Getting started with the Gradle Wrapper; Getting the Gradle Wrapper; Running basic build tasks; Migrating from Eclipse; Using the import wizard; Migrating manually; Keeping the old project structure; Converting to the new project structure; Migrating libraries
SummaryChapter 2: Basic Build Customization; Understanding the Gradle files; The settings file; The top-level build file; The module build file; Plugin; Android; Dependencies; Getting started with tasks; Base tasks; Android tasks; Inside Android Studio; Customizing the build; Manipulating manifest entries; Inside Android Studio; BuildConfig and resources; Project-wide settings; Project properties; Default tasks; Summary; Chapter 3: Managing Dependencies; Repositories; Preconfigured repositories; Remote repositories; Local repositories; Local dependencies; File dependencies; Native libraries
Library projectsCreating and using library project modules; Using .aar files; Dependency concepts; Configurations; Semantic versioning; Dynamic versions; Inside Android Studio; Summary; Chapter 4: Creating Build Variants; Build types; Creating build types; Source sets; Dependencies; Product flavors; Creating product flavors; Source sets; Multiflavor variants; Build variants; Tasks; Source sets; Resource and manifest merging; Creating build variants; Variant filters; Signing configurations; Summary; Chapter 5: Managing Multimodule Builds; The anatomy of a multimodule build
The build lifecycle revisitedModule tasks; Adding modules to a project; Adding a Java library; Adding an Android library; Integrating Android Wear; Using Google App Engine; Analyzing the build file; Using the backend in an app; Custom tasks; Tips and best practices; Running module tasks from Android Studio; Speeding up multimodule builds; Module coupling; Summary; Chapter 6: Running Tests; Unit tests; JUnit; Robolectric; Functional tests; Espresso; Test coverage; Jacoco; Summary; Chapter 7: Creating Tasks and Plugins; Understanding Groovy; Introduction; Classes and members; Methods; Closures
CollectionsGroovy in Gradle; Getting started with tasks; Defining tasks; Anatomy of a task; Using a task to simplify the release process; Hooking into the Android plugin; Automatically renaming APKs; Dynamically creating new tasks; Creating your own plugins; Creating a simple plugin; Distributing plugins; Using a custom plugin; Summary; Chapter 8: Setting Up Continuous Integration; Jenkins; Setting up Jenkins; Configuring the build; TeamCity; Setting up TeamCity; Configuring the build; Travis CI; Configuring the build; Further automation; The SDK manager plugin; Running tests
Continuous deployment
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed July 30, 2015).
ISBN:
1-78398-683-2
Loading...
Location Notes Your Loan Policy
Description Status Barcode Your Loan Policy