ownCloud News Reader: Simplify build

* apks are removed automatically
* Replacing a jar with another jar is redundant
* Moving libs from src/main/libs to libs is redundant
* Remove two jars with one glob path
This commit is contained in:
Daniel Martí 2014-05-06 13:28:02 +02:00
parent 886be17e92
commit 411de60d12

View file

@ -128,10 +128,8 @@ Build:0.6.1,46
subdir=News-Android-App
submodules=yes
gradle=yes
rm=OwncloudNewsReader.apk,News-Android-App/src/main/libs/gson-2.2.4-sources.jar,News-Android-App/src/main/libs/gson-2.2.4-javadoc.jar,News-Android-App/src/main/libs/jsoup-1.7.2.jar
extlibs=jsoup/jsoup-1.7.2.jar
prebuild=sed -i -e 's/android {/android {\nlintOptions {\ncheckReleaseBuilds false\nabortOnError false\n}\n/g' -e 's@src/main/libs/@libs/@g' build.gradle && \
mv src/main/libs/gson-2.2.4.jar libs/gson-2.2.4.jar
rm=News-Android-App/src/main/libs/gson-*-*.jar
prebuild=sed -i -e 's/android {/android {\nlintOptions {\ncheckReleaseBuilds false\nabortOnError false\n}\n/g' build.gradle
Maintainer Notes:
Releases are usually (not always) tagged. Tag names are erratic.