contributing: document unsafeLazy

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-05-30 11:49:44 +05:30
parent 7f7c0e7cb1
commit 0de22d7f60
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -23,6 +23,10 @@ In most scenarios, the `app` directory is where you'd be contributing changes to
We bundle a [`ignore-revs-file`](https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt) to ensure `git blame` is not affected by noisy changes. To make use of this, run `git config blame.ignoreRevsFile .git-blame-ignore-revs` from inside this repository. We bundle a [`ignore-revs-file`](https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt) to ensure `git blame` is not affected by noisy changes. To make use of this, run `git config blame.ignoreRevsFile .git-blame-ignore-revs` from inside this repository.
## Source code conventions
- Unless you're absolutely sure what you're doing, always prefer the `unsafeLazy` method over Kotlin's inbuilt `lazy` for lazily evaluated properties.
## Building the project ## Building the project
### Building with Gradle ### Building with Gradle