Thank you for considering contributing to this project! This document outlines the guidelines for contributing to this project.
- Fork the repository
- Clone the forked repository
- Create a new branch
- Make your changes
If making changes, please make sure to follow the Kotlin coding conventions.
4 spaces for indentation and no*
imports should be used. - Submit a pull request with your new branch
The target branch for pull requests is master
.
You can do one of two things:
- Run the samples in the repository, optionally modifying them to test your changes, but remember to revert them before submitting your pull request.
- Publish your changes to a local Maven repository and use them in your own project. To do this, run the following command in the root directory of the project:
./gradlew -DLibrariesOnly=true -DDisableSigning=true -DSupabaseVersion="customVersion" publishToMavenLocal
Replace customVersion
with a unique version like 2.5.0-local-1
(to prevent version clashing with offical versions, if using the maven local repository). Then, in your project, add the following to your build.gradle.kts
file:
repositories {
mavenLocal()
}
And add the following to your dependencies:
implementation("io.github.jan-tennert.supabase:[module]:customVersion")