
Gradle Recipes for Android. Master the New Build



Gradle Recipes for Android. Master the New Build - Najlepsze oferty
Gradle Recipes for Android. Master the New Build - Opis
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 appsRun Gradle from the command line or inside Android StudioAdd more Java libraries to your Android appImport and export Eclipse ADT projectsDigitally sign a Release APK for the Google Play storeUse product flavors to build many versions of the same appAdd custom tasks to the Gradle build processTest both your app...s Android and non-Android componentsImprove the performance of your Gradle build Spis treści:Foreword
Preface
About the Book
Prerequisites
Conventions Used in This Book
Using Code Examples
Safari Books Online
How to Contact Us
Acknowledgments
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 (...) więcej Studio
1.5. Adding Java Library Dependencies
1.6. Adding Library Dependencies Using Android Studio
1.7. Configuring Repositories
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
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
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
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
6. Performance and Documentation
6.1. Performance Recommendations
6.2. DSL Documentation
A. Just Enough Groovy to Get By
B. Gradle Basics
Index mniej
Gradle Recipes for Android. Master the New Build - Opinie i recenzje
Na liście znajdują się opinie, które zostały zweryfikowane (potwierdzone zakupem) i oznaczone są one zielonym znakiem Zaufanych Opinii. Opinie niezweryfikowane nie posiadają wskazanego oznaczenia.