diff --git a/metadata/de.luhmer.owncloudnewsreader.txt b/metadata/de.luhmer.owncloudnewsreader.txt index 5e8df2e26a..6bf08e37cd 100644 --- a/metadata/de.luhmer.owncloudnewsreader.txt +++ b/metadata/de.luhmer.owncloudnewsreader.txt @@ -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 diff --git a/srclibs/JavaOptionClass.txt b/srclibs/JavaOptionClass.txt new file mode 100644 index 0000000000..79b9d7ab1d --- /dev/null +++ b/srclibs/JavaOptionClass.txt @@ -0,0 +1,2 @@ +Repo Type:git +Repo:https://github.com/guardian/Option diff --git a/srclibs/MaterialFilePicker.txt b/srclibs/MaterialFilePicker.txt new file mode 100644 index 0000000000..85a824ff61 --- /dev/null +++ b/srclibs/MaterialFilePicker.txt @@ -0,0 +1,2 @@ +Repo Type:git +Repo:https://github.com/nbsp-team/MaterialFilePicker