One can contribute to the project by reporting issues or submitting changes via pull request.
Please use GitHub issues for filing feature requests and bug reports.
Submit pull requests here. However, please keep in mind that maintainers will have to support the resulting code of the project, so do familiarize yourself with the following guidelines.
-
If you make any code changes:
- Follow the Kotlin Coding Conventions.
- Use 4 spaces for indentation.
- Do not use imports with '*'.
- Build the project to make sure it all works and passes the tests.
- Follow the Kotlin Coding Conventions.
-
If you fix a bug:
- Write the test that reproduces the bug.
- Fixes without tests are accepted only in exceptional circumstances if it can be shown that writing the
corresponding test is too hard or otherwise impractical.
- Follow the style of writing tests that is used in this project:
name test functions as
fun `Should do something`() = runTest {...}
- Use kotest assertions
- Follow the style of writing tests that is used in this project:
name test functions as
-
Comment on the existing issue if you want to work on it. Ensure that the issue not only describes a problem but also describes a solution that has received positive feedback. Propose a solution if none has been suggested.
The documentation is published on ... .
This library is built with Gradle, but we recommend using the provided Makefile for common tasks.
- Run
make buildto build the project. It also runs all the tests. - Run
make testto run only the tests. - Run
make formatto format the code using Spotless. - Run
make lintto run linting checks (Spotless, Detekt). - Run
make cleanto clean the project. - Run
make docto generate KDoc documentation for the lib project. - Run
make helpto see all available commands.
For more specific tasks, you can use Gradle commands directly:
- Run
gradle <module>:checkto test a specific module to speed up development. - Run
gradle <module>:testto run tests for a specific module.
You can import this project into IDEA, but you have to delegate build actions to Gradle (in Preferences -> Build, Execution, Deployment -> Build Tools -> Gradle -> Build and run).