Twidere: Fix build

This commit is contained in:
Boris Kraut 2015-11-05 21:48:10 +01:00
parent 5cb85bb0f6
commit 0c0f5fd975

View file

@ -496,8 +496,12 @@ Build:0.3.0-dev-130,130
subdir=twidere
submodules=yes
gradle=fdroid
srclibs=CWACMerge@v1.1.1,CWACSacklist@v1.0.2,CWACLayouts@v0.4.2
rm=twidere.wear,twidere.extension.push.xiaomi,twidere.donate.nyanwp.wear,libraries/SlidingMenu/example
prebuild=sed -i -e '/googleCompile/d' -e 's/com.commonsware.cwac:layouts/com.github.commonsguy:cwac-layouts/g' -e 's/com.commonsware.cwac:merge/com.github.commonsguy:cwac-merge/g' -e '' -e 's@https://s3.amazonaws.com/repo.commonsware.com@https://jitpack.io@g' build.gradle && \
prebuild=sed -i -e '/googleCompile/d' -e 's@https://s3.amazonaws.com/repo.commonsware.com@https://jitpack.io@g' -e '/cwac/d' build.gradle && \
cp -fR $$CWACMerge$$/merge/src/com src/main/java/ && \
cp -fR $$CWACSacklist$$/sacklist/src/com src/main/java && \
cp -fR $$CWACLayouts$$/layouts/src/com src/main/java && \
sed -i -e '/xujiaao/d' ../build.gradle && \
sed -i -e '/wearApp/d' ../twidere.donate.nyanwp/build.gradle && \
sed -i -e '/versionNameSuffix String/aversionNameSuffix "-dev-$$VERCODE$$"' build.gradle && \