ownCloud News Reader: Replace untrusted repos with srclibs and reactivate
This commit is contained in:
parent
4d29dc8c16
commit
80a2081e16
|
@ -325,11 +325,24 @@ Build:0.9.7.5,102
|
|||
gradle=yes
|
||||
|
||||
Build:0.9.7.6,103
|
||||
disable=untrusted maven repos!
|
||||
commit=v.0.9.7.6
|
||||
subdir=News-Android-App
|
||||
submodules=yes
|
||||
init=sed -i -e '/com.nbsp:library/d' build.gradle && \
|
||||
sed -i -e '/com.gu:option/d' build.gradle && \
|
||||
sed -i -e '/maven { url/d' build.gradle && \
|
||||
sed -i "/repositories {/a flatDir { dirs 'libs' }" build.gradle && \
|
||||
sed -i "/dependencies {/a compile project(':MaterialFilePicker:library')" build.gradle && \
|
||||
sed -i "$ ainclude ':MaterialFilePicker:library'" ../settings.gradle
|
||||
gradle=yes
|
||||
srclibs=MaterialFilePicker@6817d91,JavaOptionClass@e933c3a
|
||||
prebuild=rm -rf $$MaterialFilePicker$$/app && \
|
||||
cp -r $$MaterialFilePicker$$ ../ && \
|
||||
pushd $$JavaOptionClass$$ && \
|
||||
$$MVN3$$ package -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6 && \
|
||||
popd && \
|
||||
mkdir libs && \
|
||||
mv $$JavaOptionClass$$/target/option-1.3-SNAPSHOT.jar libs/option-1.3.jar
|
||||
|
||||
Maintainer Notes:
|
||||
# Auto Update Mode:Version v.%v
|
||||
|
|
2
srclibs/JavaOptionClass.txt
Normal file
2
srclibs/JavaOptionClass.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Repo Type:git
|
||||
Repo:https://github.com/guardian/Option
|
2
srclibs/MaterialFilePicker.txt
Normal file
2
srclibs/MaterialFilePicker.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Repo Type:git
|
||||
Repo:https://github.com/nbsp-team/MaterialFilePicker
|
Loading…
Reference in a new issue