add a BV template for org.wikimedia.commons using maven central

This commit is contained in:
David Black 2013-04-23 18:46:57 +01:00
parent c078b3be17
commit e053992076
2 changed files with 29 additions and 1 deletions

View file

@ -17,11 +17,22 @@ Status: BETA
Repo Type:git
Repo:https://github.com/wikimedia/android-commons
# Uses author's own maven repo!
Build Version:1.0beta7,8,v1.0beta7,subdir=commons,target=android-15,maven=yes,\
bindir=commons/target,prebuild=rm -rf jni && sed -i 's/test/commons/' \
src/main/java/org/wikimedia/commons/CommonsApplication.java && \
sed -i '/tracking_summary/{N;s/true/false/}' res/xml/preferences.xml
# Use maven central
# Build Version:1.0beta7,8,v1.0beta7,maven=yes,\
# subdir=commons,patch=pom.patch,target=android-15,\
# bindir=commons/target,prebuild=rm -rf jni src/main/native && \
# sed -i 's/test/commons/' \
# src/main/java/org/wikimedia/commons/CommonsApplication.java && \
# sed -i '/tracking_summary/{N;s/true/false/}' res/xml/preferences.xml && \
# $$MVN3$$ install:install-file -DgroupId=com.google.android -DartifactId=support-v4 \
# -Dversion=r12 -Dpackaging=jar -Dfile=$$SDK$$/extras/android/support/v4/android-support-v4.jar && \
# $$MVN3$$ install:install-file -DgroupId=android -DartifactId=android -Dversion=4.1_r2 \
# -Dpackaging=jar -Dfile=$$SDK$$/platforms/android-17/android.jar && \
# sed -i '207\,214d' ../pom.xml
Auto Update Mode:None
Update Check Mode:Tags

View file

@ -0,0 +1,17 @@
diff --git a/commons/pom.xml b/commons/pom.xml
index 7adf9e8..f2d5912 100644
--- a/commons/pom.xml
+++ b/commons/pom.xml
@@ -38,9 +38,9 @@
<artifactId>android</artifactId>
</dependency>
<dependency>
- <groupId>android.support</groupId>
- <artifactId>compatibility-v4</artifactId>
- <version>11</version>
+ <groupId>com.google.android</groupId>
+ <artifactId>support-v4</artifactId>
+ <version>r12</version>
</dependency>
<dependency>
<groupId>com.nostra13.universalimageloader</groupId>