From ce250546488d5c771e59405c780527a4991fe013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sat, 13 Sep 2014 12:27:10 +0200 Subject: [PATCH] docs: Properly explain gradle= with multiple flavors --- docs/fdroid.texi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/fdroid.texi b/docs/fdroid.texi index 7657f7f3..c85fad9c 100644 --- a/docs/fdroid.texi +++ b/docs/fdroid.texi @@ -989,11 +989,13 @@ actually not required or used, remove the directory instead (using isn't used nor built will result in an error saying that native libraries were expected in the resulting package. -@item gradle= -Build with Gradle instead of Ant, specifying what flavour to assemble. -If is 'yes' or 'main', no flavour will be used. Note -that this will not work on projects with flavours, since it will build -all flavours and there will be no 'main' build. +@item gradle=[,,...] +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. @item maven=yes[@@] Build with Maven instead of Ant. An extra @@ tells f-droid to run Maven