|
Book details / order |
GRADLE RECIPES FOR ANDROID MASTER THE NEW BUILD SYSTEM FOR ANDROID |
Android adopted gradle as the preferred build automation system a few years ago, but many android developers are still unfamiliar with this open source tool. this hands-on guide provides a collection of gradle recipes to help you quickly and easily accomplish the most common build tasks for your android apps. you’ll learn how to customize project layouts, add dependencies, and generate many different versions of your app.
gradle is based on groovy, yet very little knowledge of the jvm language is required for you to get started. code examples use android sdk version 23, with emulators from marshmallow (android 6) or lollipop (android 5). if you’re comfortable with java and android, you’re ready.
understand gradle’s generated build files for android apps
run gradle from the command line or inside android studio
add more java libraries to your android app
import and export eclipse adt projects
digitally sign a release apk for the google play store
use product flavors to build many versions of the same app
add custom tasks to the gradle build process
test both your app’s android and non-android components
improve the performance of your gradle build
about the author
ken kousen is an independent consultant and trainer specializing in spring, hibernate, groovy, and grails. he holds numerous technical certifications, along with degrees in mathematics, mechanical and aerospace engineering, and computer science.
chapter 1. gradle for android basics
1.1. gradle build files in android
1.2. configure sdk versions and other defaults
1.3. executing gradle builds from the command line
1.4. executing gradle builds from android studio
1.5. adding java library dependencies
1.6. adding library dependencies using android studio
1.7. configuring repositories
chapter 2. from project import to release
2.1. setting project properties
2.2. porting apps from eclipse adt to android studio
2.3. porting apps from eclipse adt using eclipse
2.4. upgrading to a newer version of gradle
2.5. sharing settings among projects
2.6. signing a release apk
2.7. signing a release apk using android studio
chapter 3. build types and flavors
3.1. working with build types
3.2. product flavors and variants
3.3. merging resources
3.4. flavor dimensions
3.5. merging java sources across flavors
chapter 4. custom tasks
4.1. writing your own custom tasks
4.2. adding custom tasks to the build process
4.3. excluding tasks
4.4. custom source sets
4.5. using android libraries
chapter 5. testing
5.1. unit testing
5.2. testing with the android testing support library
5.3. functional testing with robotium
5.4. activity testing with espresso
chapter 6. performance and documentation
6.1. performance recommendations
6.2. dsl documentation
appendix just enough groovy to get by
appendix gradle basics
Author : Ken kousen
Publication : Oreilly
Isbn : 9789352133796
Store book number : 105
NRS 480.00
|
|
|
|
|
|
|
|
|
|