From 1987ee7f544013af80cbece131a4b3816e2f8374 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Thu, 3 Dec 2015 10:56:59 +0100 Subject: [PATCH] Remove gradle=main It was only supported in txt metadata, and was unused in fdroiddata anyway. --- docs/fdroid.texi | 6 +++--- fdroidserver/metadata.py | 27 ++++++++++++--------------- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/docs/fdroid.texi b/docs/fdroid.texi index 402a8133..00eca07c 100644 --- a/docs/fdroid.texi +++ b/docs/fdroid.texi @@ -1054,9 +1054,9 @@ adding them to 'ndk_paths' in your config file. Build with Gradle instead of Ant, specifying what flavours to use. Flavours are case sensitive since the path to the output apk is as well. -If only one flavour is given and it is 'yes' or 'main', no flavour will be -used. Note that for projects with flavours, you must specify at least one -valid flavour since 'yes' or 'main' will build all of them separately. +If only one flavour is given and it is 'yes', no flavour will be used. +Note that for projects with flavours, you must specify at least one +valid flavour since 'yes' will build all of them separately. @item maven=yes[@@] Build with Maven instead of Ant. An extra @@ tells F-Droid to run Maven diff --git a/fdroidserver/metadata.py b/fdroidserver/metadata.py index 12d7939b..1db8843d 100644 --- a/fdroidserver/metadata.py +++ b/fdroidserver/metadata.py @@ -981,7 +981,8 @@ def parse_yaml_metadata(metadatapath): return app -build_line_sep = re.compile(r"(?