Archive for the ‘Build’ Category

Gradle Build – Part 9

Friday, August 23rd, 2013

In the previous article we defined a simple build task, but it was of limited use because it could only be invoked as a standalone task. In this article we’ll see how we can attach it to the build lifecycle.
(more…)

Gradle Build – Part 8

Friday, August 16th, 2013

Previously in this series we’ve looked at various aspects of the new Android Gradle build system. But what happens if the Android tools do not quite do what we require? In this article we’ll have a look at how we can extend and customise the Gradle build process.
(more…)

Gradle Build – Part 7

Friday, August 9th, 2013

Previously in this series we’ve looked at various aspects of the Android Gradle build some of which are features of Gradle itself, but others which are specific to the Android build toolchain that has been developed on top of that. In this article we’re going to look at a feature that most definitely falls into the second of these categories: Build Flavors.
(more…)

Gradle Build – Part 6

Friday, August 2nd, 2013

Previously in this series we’ve looked at various aspects of the Android Gradle build system and how we can adapt things in various ways. But what about if we want to convert our existing projects to use the Gradle build system? In this article we’ll do precisely that.
(more…)

Gradle Build – Part 5

Friday, July 26th, 2013

Previously in this series we’ve looked at various aspects of the Gradle build system for Android and we’ll continue by looking at some simple techniques for simplifying our build configuration.
(more…)

Gradle Build – Part 4

Friday, July 19th, 2013

Previously in this series we’ve looked at getting a simple Gradle build working and also seen how we can tinker with the source trees to do some quite powerful stuff. In this article we’ll look at adding a second module, or sub-project to our existing project and see how much easier is is to manage Android Library projects.
(more…)

Gradle Build – Part 3

Friday, July 12th, 2013

Previously in this series we’ve created a basic Gradle build-based project, and looked at the build configuration. In this article we’ll have a look at the default structure for storing source and resource files, and look at how we can change this structure.
(more…)

Gradle Build – Part 2

Friday, July 5th, 2013

In the previous article we created a new project with a Gradle build and looked at couple of tricks for getting the build to run faster. In this article we’ll have a look at the build configuration and understand a little more of what’s going on.
(more…)

Gradle Build – Part 1

Friday, June 28th, 2013

At Google I/O 2013 Google announced some new developer tools including the new Android Studio IDE, and a new build system based around Gradle. In this series we’ll have a look at the Gradle build system, and look at how to convert existing projects to use the new build system.
(more…)

Maven and Android – Part 6

Friday, July 27th, 2012

In the previous article we looked at the Maven build lifecycle. In this concluding part, we’ll have a brief tour of some of the more advanced things that we can do with Maven which may convince you that Mavenising your build can provide you with great benefits.
(more…)