Gradle Recipes for Android

Gradle Recipes for Android pdf epub mobi txt 电子书 下载 2025

出版者:O'Reilly Media
作者:Ken Kousen
出品人:
页数:168
译者:
出版时间:2016-6-17
价格:USD 29.99
装帧:Paperback
isbn号码:9781491947029
丛书系列:
图书标签:
  • 计算机
  • Gradle
  • Android
  • Coding
  • Gradle
  • Android
  • Android Development
  • Build Automation
  • Recipes
  • Mobile Development
  • Java
  • Kotlin
  • Automation
  • Testing
想要找书就要到 图书目录大全
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

具体描述

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

作者简介

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
· · · · · · (收起)

读后感

评分

评分

评分

评分

评分

用户评价

评分

整本书关于Android Build System的描述很精简,清晰易懂,值得收入囊中的参考书。

评分

Gradle in action那本太厚了,这本是官网推荐,简介。 专走媒体道理,从媒体SDK到媒体服务端,是更适合自己道路

评分

整本书关于Android Build System的描述很精简,清晰易懂,值得收入囊中的参考书。

评分

马马虎虎吧 讲的不深入

评分

Gradle in action那本太厚了,这本是官网推荐,简介。 专走媒体道理,从媒体SDK到媒体服务端,是更适合自己道路

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有