Twidere: Fix build
This commit is contained in:
parent
5cb85bb0f6
commit
0c0f5fd975
|
@ -496,8 +496,12 @@ Build:0.3.0-dev-130,130
|
||||||
subdir=twidere
|
subdir=twidere
|
||||||
submodules=yes
|
submodules=yes
|
||||||
gradle=fdroid
|
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
|
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 '/xujiaao/d' ../build.gradle && \
|
||||||
sed -i -e '/wearApp/d' ../twidere.donate.nyanwp/build.gradle && \
|
sed -i -e '/wearApp/d' ../twidere.donate.nyanwp/build.gradle && \
|
||||||
sed -i -e '/versionNameSuffix String/aversionNameSuffix "-dev-$$VERCODE$$"' build.gradle && \
|
sed -i -e '/versionNameSuffix String/aversionNameSuffix "-dev-$$VERCODE$$"' build.gradle && \
|
||||||
|
|
Loading…
Reference in a new issue