chiark / gitweb /
docs: Properly explain gradle= with multiple flavors
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 13 Sep 2014 10:27:10 +0000 (12:27 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 13 Sep 2014 10:27:10 +0000 (12:27 +0200)
docs/fdroid.texi

index 7657f7f389d5c4a3d5b448ff85ffd0a85f199ed6..c85fad9c00029451eb28c56515478dee5eb9c7c2 100644 (file)
@@ -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=<flavour>
-Build with Gradle instead of Ant, specifying what flavour to assemble.
-If <flavour> 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=<flavour1>[,<flavour2>,...]
+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[@@<dir>]
 Build with Maven instead of Ant. An extra @@<dir> tells f-droid to run Maven