Wikipedia: Force java1.7 on API srclib.

This commit is contained in:
Boris Kraut 2014-10-23 23:03:42 +02:00
parent ec2815b0c9
commit 9581d97ed4

View file

@ -77,7 +77,9 @@ Build:2.0-r-2014-10-14,84
srclibs=MediaWikiApi@32b5b87d0a57900eaa5d7e78d5623cd76f8951b3
gradle=prod
prebuild=sed -i -e '/wmflabs/d' -e '/jcenter/amavenLocal()' ../build.gradle && \
pushd $$MediaWikiApi$$ && $$MVN3$$ install && popd
pushd $$MediaWikiApi$$ && \
sed -i -e '/<plugins>/a<plugin><artifactId>maven-compiler-plugin</artifactId><version>3.0</version><configuration><source>1.7</source><target>1.7</target></configuration></plugin>' pom.xml && \
$$MVN3$$ install && popd
Maintainer Notes:
* replaced custom maven repo https://tools.wmflabs.org/android-maven-repo/