From 45e5d07581b640cef07f82655f0d729d9ba76dd9 Mon Sep 17 00:00:00 2001 From: Kelvin Watson Date: Sun, 19 May 2024 11:57:09 -0700 Subject: [PATCH 1/2] update README to include gradle options --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3eb0276..bd5fbfc 100644 --- a/README.md +++ b/README.md @@ -67,10 +67,31 @@ In your Maven project, add this dependency: io.github.amithkoujalgi ollama4j - 1.0.57 + 1.0.70 ``` +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) From 2866d83a2fc8815d7863dbc65a17eec185004372 Mon Sep 17 00:00:00 2001 From: Kelvin Watson Date: Sun, 19 May 2024 11:58:08 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index bd5fbfc..e45b4a3 100644 --- a/README.md +++ b/README.md @@ -87,9 +87,7 @@ dependencies { ```groovy dependencies { implementation("io.github.amithkoujalgi:ollama4j:1.0.70") - } - ``` Latest release: @@ -181,4 +179,4 @@ project. ### References -- [Ollama REST APIs](https://github.com/jmorganca/ollama/blob/main/docs/api.md) \ No newline at end of file +- [Ollama REST APIs](https://github.com/jmorganca/ollama/blob/main/docs/api.md)