Skip to content

Commit 1f97ab0

Browse files
committed
Add corrected Snapshot builds section pointing to Sonatype Central
Replace the removed GitHub Packages snapshot instructions with the correct Sonatype Central snapshot repository. No credentials required. Restore the snapshot badge linking to the Sonatype snapshot repo. https://claude.ai/code/session_01TLazuhMKS5WrYpmUx7eM8s
1 parent 1fbc3c5 commit 1f97ab0

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
![Java 8+](https://img.shields.io/badge/Java-8%2B-informational)
22
[![llama.cpp b9106](https://img.shields.io/badge/llama.cpp-%23b9106-informational)](https://github.com/ggml-org/llama.cpp/releases/tag/b9106)
33
[![Maven Central](https://img.shields.io/maven-central/v/net.ladenthin/llama)](https://central.sonatype.com/artifact/net.ladenthin/llama)
4+
[![Snapshot](https://img.shields.io/badge/snapshot-latest-informational)](https://central.sonatype.com/repository/maven-snapshots/net/ladenthin/llama/)
45

56
# Java Bindings for [llama.cpp](https://github.com/ggerganov/llama.cpp)
67

@@ -46,6 +47,31 @@ Access this library via Maven (released versions on Maven Central):
4647

4748
There are multiple [examples](src/test/java/examples).
4849

50+
### Snapshot builds
51+
52+
Every push to `main` publishes a snapshot to the [Sonatype Central snapshot repository](https://central.sonatype.com/repository/maven-snapshots/net/ladenthin/llama/).
53+
54+
To use the latest snapshot, add the repository and dependency to your `pom.xml`:
55+
56+
```xml
57+
<repositories>
58+
<repository>
59+
<id>sonatype-snapshots</id>
60+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
61+
<snapshots><enabled>true</enabled></snapshots>
62+
<releases><enabled>false</enabled></releases>
63+
</repository>
64+
</repositories>
65+
66+
<dependency>
67+
<groupId>net.ladenthin</groupId>
68+
<artifactId>llama</artifactId>
69+
<version>5.0.1-SNAPSHOT</version>
70+
</dependency>
71+
```
72+
73+
No credentials are required — the repository is publicly readable.
74+
4975
### No Setup required
5076

5177
We support CPU inference for the following platforms out of the box:

0 commit comments

Comments
 (0)