Add documentation for the custom gradle parameters

pull/7098/head
XiangRongLin 2021-09-12 20:34:31 +02:00
rodzic 75c9e959de
commit dd9cc619ed
1 zmienionych plików z 14 dodań i 0 usunięć

14
doc/gradle.md 100644
Wyświetl plik

@ -0,0 +1,14 @@
# Custom gradle parameters
You can use these parameters by specifying them inside the `gradle.properties` file as
`systemProp.<name>=<value>` or passing them through the CLI with `-D<name>=<value>`.
## packageSuffix
This allows you to specify a suffix, which will be added on release builds to the application id,
the `app_name` string and the apk file.
No validation is made, so make sure to pass in a valid value.
## skipFormatKtlint
This allows you to skip the `formatKtLint` task.
No value is needed.
It is used for CI in order to check for badly formatted files.