agrevster / pocketbase-kotlin

A multi-platform Kotlin SDK for Pocketbase.
https://agrevster.github.io/pocketbase-kotlin/
MIT License
25 stars 6 forks source link

First project #6

Closed a-cosmic-jaw closed 8 months ago

a-cosmic-jaw commented 8 months ago

For a n00b - where do I load the dependencies { implementation("io.github.agrevster:pocketbase-kotlin:2.5.0") }

I know it's in a Gradle file, but is it in a Spring Boot project, Micronaut, some other webbackend or a skeleton build of some kind?

An example or two would be great! Maybe in their own repository?

Thank you in advance!

agrevster commented 8 months ago

This question really isn't specific to Pocketbase Kotlin. The Kotlin and Gradle docs are the best places for build script help.

https://kotlinlang.org/docs/get-started-with-jvm-gradle-project.html#explore-the-build-script

To answer your question, you only use the library in the project that uses it. If you plan on interacting with Pocketbase in Micronaut use PocketKt there.

Hope this helps