Files
MapLibreParticleLab/platform/android/CONTRIBUTING.md

752 B

Contributing - MapLibre GL Native for Android

Kotlin

All new code should be written in Kotlin.

Style Checking

To check Kotlin style, we use ktlint. This linter is based on the official Kotlin coding conventions. We intergrate with it using the kotlinder Gradle plugin.

To check the style of all Kotlin source files, use:

$ ./gradlew checkStyle

To format all Kotlin source files, use:

$ ./gradlew formatKotlin

You might find it helpful to install the Ktlint Android Studio plugin.