Work with gradle 1.8, build aar and save to local maven.
Builds aar, works with AS 0.2.11 and gradle 1.8.