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

· "O'Reilly Media, Inc."
4.7
7 reviews
Ebook
168
Pages
Eligible
Ratings and reviews aren’t verified  Learn More

About this ebook

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

Ratings and reviews

4.7
7 reviews

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.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.