add a BV template for org.wikimedia.commons using maven central
This commit is contained in:
parent
c078b3be17
commit
e053992076
|
@ -17,11 +17,22 @@ Status: BETA
|
||||||
Repo Type:git
|
Repo Type:git
|
||||||
Repo:https://github.com/wikimedia/android-commons
|
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,\
|
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/' \
|
bindir=commons/target,prebuild=rm -rf jni && sed -i 's/test/commons/' \
|
||||||
src/main/java/org/wikimedia/commons/CommonsApplication.java && \
|
src/main/java/org/wikimedia/commons/CommonsApplication.java && \
|
||||||
sed -i '/tracking_summary/{N;s/true/false/}' res/xml/preferences.xml
|
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
|
Auto Update Mode:None
|
||||||
Update Check Mode:Tags
|
Update Check Mode:Tags
|
||||||
|
|
17
metadata/org.wikimedia.commons/pom.patch
Normal file
17
metadata/org.wikimedia.commons/pom.patch
Normal 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>
|
Loading…
Reference in a new issue