Hi Harshan, Are there any difficulties to move to Gradle? I think they have all the dependencies including latest Android L preview
On Wed, Jul 16, 2014 at 6:23 PM, Harshan Liyanage <[email protected]> wrote: > Hi, > > Currently I'm involved in using maven to create & build Android / > Cordova-Android application projects as a part of MEAP project which will > be used to create & build mobile application projects using AppFactory. > There is a android-maven plugin [3] & a maven-archetype [4] which can be > used for building & creating android applications. Using maven in android > application projects has been explained well in [1]. > > However the maven plugin, archetypes & android-maven dependencies in > central maven repo are not provided by Google as mentioned in [4] & [5]. > These are provided by android-maven developer community. But they do not > regularly update maven central repo with latest Android sdk dependencies > [6]. Last dependency was released on August 2012 for Android 4.1.1.4 (sdk > 16). Hopefully Google might provide android dependencies in future with > Gradle based build system [9]. > > *Issue : *Lack of android dependencies in maven central repo > > *Solutions :* > > 1. Using maven-android deployer tool [7] to install android sdk > dependencies to local m2 repo. This tool has been widely used by the > developers who uses maven to build android projects. Then by installing > these dependencies into wso2 nexus repo we could build Android maven > projects. This solution will allow us to use above mentioned maven-android > plugin & archetype with slight modifications. > > 2. Using maven to invoke shell commands to create android project & build > it using Ant (default Android build system till Android switches to Gradle) > > I'm expecting to use first solution. Please provide your suggestions > regarding this. > > *References* > > [1]. http://books.sonatype.com/mvnref-book/reference/android-dev.html > [2]. > http://stackoverflow.com/questions/5253029/why-arent-the-android-sdk-jars-in-any-maven-repository > [3]. https://code.google.com/p/maven-android-plugin/ > [4]. http://stand.spree.de/wiki_details_maven_archetypes > [5]. > https://groups.google.com/forum/#!topic/maven-android-developers/ZG9z6kQuPYo > [6]. > http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.android%22%20AND%20a%3A%22android%22 > [7]. https://github.com/mosabua/maven-android-sdk-deployer > [8]. http://developer.android.com/tools/building/index.html > [9]. > http://www.gradleware.com/android/gradle-the-new-android-build-system/ > > > Thanks, > > Best Regards, > > Lakshitha Harshan > Software Engineer > Mobile: *+94724423048* > Email: [email protected] > Blog : http://harshanliyanage.blogspot.com/ > *WSO2, Inc. :** wso2.com <http://wso2.com/>* > lean.enterprise.middleware. > -- Regards, Chatura Dilan Perera *(Senior Software Engineer** - WSO2 Inc.* * [Mobile])* www.dilan.me
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
