Archive for the ‘Maven’ Category

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…)

Maven and Android – Part 5

Friday, July 20th, 2012

In the previous article we had a look at Maven repositories and saw how Maven can automatically retrieve artifacts from public repositories an put them in to our local one. In this article we’ll look at the Maven build lifecycle, and how we can use Maven to put our own artifacts in to repositories.
(more…)

Maven and Android – Part 4

Friday, July 13th, 2012

In the continuing series about automating your Android builds using Maven, we’ll look at one of the foundations of Maven which is what allows Maven to automatically download project dependencies for us: repositories.
(more…)

Maven and Android – Part 3

Friday, July 6th, 2012

In the previous article looked at some errors that were occurring in our Maven build of an Android project. At the end it appeared that everything was now working, but in fact it was not. In this article we’ll look at how the Eclipse and Maven build processes work together in parallel.
(more…)

Maven and Android – Part 2

Friday, June 29th, 2012

In the previous article we installed Maven and some Android related tools, and got an existing project converted to a Maven build. We had an error because despite all of the tools we installed, Maven itself does not know how to build Android apps. In this article we’ll fix the build and begin to get an understanding of how Maven works and what benefits it offers us.
(more…)

Maven and Android – Part 1

Friday, June 22nd, 2012

Apache Maven is a build automation tool which does an awful lot more besides. I have used Maven for a number of years for server-side projects and think that it is a fantastic tool. I have tried it on a number of occasions for automating Android builds but always either hit problems, or just found the Android tools were lacking some of the features that I required and was forced to give up. It was also quite painful to get installed and working correctly. A couple of months ago, I tried it once again and was pleasantly surprised to find that the Android tools for Maven finally seem to have matured. In this series we’ll look at how to get Maven set up for Eclipse and ADT, and explore some of the cool things that Maven can do for us.
(more…)