Skip to content

Commit

Permalink
an update on how to build the project
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Sep 30, 2024
1 parent 9de787b commit 35100a3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,14 @@ More sophisticated code examples targeting various
platforms will follow in the
[anthropic-sdk-kotlin-demo](https://github.com/xemantic/anthropic-sdk-kotlin-demo)
project.

## Building the project

```shell
export ANTHROPIC_API_KEY=your-key-goes-here
./gradlew build
```

Many [unit tests](src/commonTest/kotlin) are actually integration tests calling Anthropic APIs
and asserting against results. This is the reason why they might be flaky from time to time. For
example if the test image is misinterpreted, or Claude is randomly fantasizing too much.

0 comments on commit 35100a3

Please sign in to comment.