Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Gradle Recipes for Android: Master the New Build System for Android

Posted By: leonardo78
Gradle Recipes for Android: Master the New Build System for Android

Gradle Recipes for Android: Master the New Build System for Android by Ken Kousen
Language: English | 2016 | ISBN: 1491947020 | 166 pages | PDF | 5,6 MB

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