Merge pull request #47 from kelvinwatson/kelvinwatson/gradleDependencyInReadMe

Update README to include gradle project set up options
This commit is contained in:
Amith Koujalgi 2024-05-20 20:24:03 +05:30 committed by GitHub
commit cd60c506cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,10 +67,29 @@ In your Maven project, add this dependency:
<dependency>
<groupId>io.github.amithkoujalgi</groupId>
<artifactId>ollama4j</artifactId>
<version>1.0.57</version>
<version>1.0.70</version>
</dependency>
```
or
In your Gradle project, add the dependency using the Kotlin DSL or the Groovy DSL:
```kotlin
dependencies {
val ollama4jVersion = "1.0.70"
implementation("io.github.amithkoujalgi:ollama4j:$ollama4jVersion")
}
```
```groovy
dependencies {
implementation("io.github.amithkoujalgi:ollama4j:1.0.70")
}
```
Latest release:
![Maven Central](https://img.shields.io/maven-central/v/io.github.amithkoujalgi/ollama4j)