X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=docs%2Ffdroid.texi;h=c57689c7e0903f62f485347dd34b40aa8857895f;hb=05c2d18709ee4b2921a2ea50926dcaaa51a89e59;hp=c25fc1a106b814f3510e0718ae1b4d979d7aa137;hpb=c08d2092f6eccd9bced715786568c9cb0eedd10b;p=fdroidserver.git diff --git a/docs/fdroid.texi b/docs/fdroid.texi index c25fc1a1..c57689c7 100644 --- a/docs/fdroid.texi +++ b/docs/fdroid.texi @@ -885,7 +885,7 @@ which architecture or platform the apk is designed to run on. If specified, the package version code in the AndroidManifest.xml is replaced with the version code for the build. See also forceversion. -@item rm=relpath1,relpath2,... +@item rm=[,,...] Specifies the relative paths of files or directories to delete before the build is done. The paths are relative to the base of the build directory - i.e. the root of the directory structure checked out from @@ -895,7 +895,7 @@ AndroidManifest.xml. Multiple files/directories can be specified by separating them with ','. Directories will be recursively deleted. -@item extlibs=a,b,... +@item extlibs=[,,...] Comma-separated list of external libraries (jar files) from the @code{build/extlib} library, which will be placed in the @code{libs} directory of the project. @@ -948,7 +948,7 @@ You can use $$SDK$$, $$NDK$$ and $$MVN3$$ to substitute the paths to the android SDK and NDK directories, and Maven 3 executable respectively e.g. for when you need to run @code{android update project} explicitly. -@item scanignore=path1,path2,... +@item scanignore=[,,...] Enables one or more files/paths to be excluded from the scan process. This should only be used where there is a very good reason, and probably accompanied by a comment explaining why it is necessary. @@ -956,7 +956,7 @@ probably accompanied by a comment explaining why it is necessary. When scanning the source tree for problems, matching files whose relative paths start with any of the paths given here are ignored. -@item scandelete=path1,path2,... +@item scandelete=[,,...] Similar to scanignore=, but instead of ignoring files under the given paths, it tells f-droid to delete the matching files directly. @@ -988,23 +988,25 @@ 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 inside that relative subdirectory. Sometimes it is needed to use @@.. so that builds happen correctly. -@item preassemble= -Space-separated list of Gradle tasks to be run before the assemble task -in a Gradle project build. +@item preassemble=[,,...] +List of Gradle tasks to be run before the assemble task in a Gradle project +build. -@item antcommand=xxx -Specify an alternate Ant command (target) instead of the default +@item antcommands=[,,...] +Specify an alternate set of Ant commands (target) instead of the default 'release'. It can't be given any flags, such as the path to a build.xml. @item output=path/to/output.apk