Skip to content

Commit fcfd8b7

Browse files
committed
chore: update README.md [skip ci]
1 parent 00989ce commit fcfd8b7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,19 @@ an [engine](https://ktor.io/docs/http-client-engines.html) for each target.
4747

4848
Gradle is required for multiplatform support, but there's nothing stopping you from using the jvm client in a Maven
4949
project. You still need to add to your dependencies one
50-
of [Ktor's engines](https://ktor.io/docs/http-client-engines.html). For example:
50+
of [Ktor's engines](https://ktor.io/docs/http-client-engines.html).
51+
52+
<details>
53+
<summary>Setup the client with maven</summary>
5154

5255
```xml
5356
<dependencies>
54-
<!-- https://mvnrepository.com/artifact/com.aallam.openai/openai-client-jvm -->
5557
<dependency>
5658
<groupId>com.aallam.openai</groupId>
5759
<artifactId>openai-client-jvm</artifactId>
5860
<version>3.6.0</version>
5961
</dependency>
6062

61-
<!-- https://mvnrepository.com/artifact/io.ktor/ktor-client-okhttp-jvm -->
6263
<dependency>
6364
<groupId>io.ktor</groupId>
6465
<artifactId>ktor-client-okhttp-jvm</artifactId>
@@ -68,6 +69,8 @@ of [Ktor's engines](https://ktor.io/docs/http-client-engines.html). For example:
6869
</dependencies>
6970
```
7071

72+
</details>
73+
7174
The BOM is not supported for Maven projects.
7275

7376
## ⚡️ Getting Started

0 commit comments

Comments
 (0)