File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -47,18 +47,19 @@ an [engine](https://ktor.io/docs/http-client-engines.html) for each target.
47
47
48
48
Gradle is required for multiplatform support, but there's nothing stopping you from using the jvm client in a Maven
49
49
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 >
51
54
52
55
``` xml
53
56
<dependencies >
54
- <!-- https://mvnrepository.com/artifact/com.aallam.openai/openai-client-jvm -->
55
57
<dependency >
56
58
<groupId >com.aallam.openai</groupId >
57
59
<artifactId >openai-client-jvm</artifactId >
58
60
<version >3.6.0</version >
59
61
</dependency >
60
62
61
- <!-- https://mvnrepository.com/artifact/io.ktor/ktor-client-okhttp-jvm -->
62
63
<dependency >
63
64
<groupId >io.ktor</groupId >
64
65
<artifactId >ktor-client-okhttp-jvm</artifactId >
@@ -68,6 +69,8 @@ of [Ktor's engines](https://ktor.io/docs/http-client-engines.html). For example:
68
69
</dependencies >
69
70
```
70
71
72
+ </details >
73
+
71
74
The BOM is not supported for Maven projects.
72
75
73
76
## ⚡️ Getting Started
You can’t perform that action at this time.
0 commit comments