From 3a64fe38b80f5a6bbb42e30e2a78fccfd3690da1 Mon Sep 17 00:00:00 2001 From: Thomas Bruyelle Date: Mon, 25 Feb 2013 14:36:32 +0100 Subject: [PATCH 1/3] Add maven-integration Then just execute `mvn clean package` to generate the apk under the target directory. Need extra dependency to the compatibility-v7-gridlayout library, to have this dependency in your repository, use the github project maven-android-sdk-deployer (https://github.com/mosabua/maven-android-sdk-deployer) --- pom.xml | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100755 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100755 index 0000000..4877ae9 --- /dev/null +++ b/pom.xml @@ -0,0 +1,86 @@ + + + + 4.0.0 + + com.jake.quiltview + quiltview + 1.0 + QuiltViewLibrary + apklib + + + 1.6 + + + + + + + + + + + + + com.google.android + android + provided + 4.1.1.4 + + + android.support + compatibility-v7-gridlayout + 11 + apklib + + + + android.support + compatibility-v7-gridlayout + 11 + jar + + + + + src + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5 + + ${java.version} + ${java.version} + + + + + com.jayway.maven.plugins.android.generation2 + android-maven-plugin + 3.4.1 + + + 16 + + + + + + com.jayway.maven.plugins.android.generation2 + android-maven-plugin + 3.4.1 + true + + ignored + + + + + + + From 27679d6bd1610f71b76fb7908918a3c3f002a51e Mon Sep 17 00:00:00 2001 From: Thomas Bruyelle Date: Mon, 25 Feb 2013 15:11:26 +0100 Subject: [PATCH 2/3] ignore the target directory --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target From a75b910fc8d5e8f7851a5b1ad54071e1d84076c4 Mon Sep 17 00:00:00 2001 From: Thomas Bruyelle Date: Mon, 25 Feb 2013 16:51:29 +0100 Subject: [PATCH 3/3] Shouldnt be here (cause error as a maven dep) --- res/layout/activity_main.xml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 res/layout/activity_main.xml diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml deleted file mode 100644 index 58a95e1..0000000 --- a/res/layout/activity_main.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - \ No newline at end of file