Skip to content

Commit

Permalink
README.md update
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Oct 17, 2024
1 parent aad874b commit c7979dd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,35 @@ and many other environments.

## Usage

_:warning: This SDK is in the early stage of development, but at the same time it is completely functional and passing
_:warning: This SDK is in the early stage of development, so still a subject to API changes,
however at the same time it is completely functional and passing all the
[test cases](src/commonTest/kotlin)._

Add to your `build.gradle.kts`:
The easiest way to use this project is to start with
[anthropic-sdk-kotlin-jvm-template](https://github.com/xemantic/anthropic-sdk-kotlin-jvm-template)
as a template repository. There are also many ready examples and use cases in the
[anthropic-sdk-kotlin-demo](https://github.com/xemantic/anthropic-sdk-kotlin-jvm-demo) repo.

Otherwise, you need to add to your `build.gradle.kts`:

```kotlin
dependencies {
implementation("com.xemantic.anthropic:anthropic-sdk-kotlin:.0.3.1")
implementation("com.xemantic.anthropic:anthropic-sdk-kotlin:.0.4.0")
}
```

And in case of JVM:
, and in case of JVM:

```kotlin
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
implementation("io.ktor:ktor-client-java:3.0.0") // or the latest ktor version
// and if you don't care about configuring logging
implementation("org.slf4j:slf4j-simple:2.0.16")
}
```

If you are planning to use tools, you will also need:
, ff you are planning to use tools, you will also need:

```kotlin
plugins {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ kotlin.code.style=official
kotlin.js.generate.executable.default=false
kotlin.native.ignoreDisabledTargets=true
group=com.xemantic.anthropic
version=0.4-SNAPSHOT
version=0.5-SNAPSHOT

0 comments on commit c7979dd

Please sign in to comment.