Skip to content

Commit 87cca38

Browse files
committed
Update README.md to include Maven dependency examples for JDK 25
1 parent ac2b920 commit 87cca38

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/prepare-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ jobs:
7676
- name: Update README.md
7777
run: |
7878
if [ -f "README.md" ]; then
79-
# Update version in Maven dependency example
79+
# Update version in Maven dependency examples (handles plain X.Y.Z and X.Y.Z-jdkNN suffixes)
8080
sed -i 's|<version>[0-9]\+\.[0-9]\+\.[0-9]\+</version>|<version>${{ env.VERSION }}</version>|g' README.md
81+
sed -i 's|<version>[0-9]\+\.[0-9]\+\.[0-9]\+-jdk[0-9]\+</version>|<version>${{ env.VERSION }}-jdk25</version>|g' README.md
8182
echo "✅ Updated README.md"
8283
fi
8384

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ Despite being deprecated, OpenCL can still run on Apple Silicon; albeit, with ol
165165

166166
You can add **GPULlama3.java** directly to your Maven project by including the following dependency in your `pom.xml`:
167167

168+
**JDK 21:**
168169
```xml
169170
<dependency>
170171
<groupId>io.github.beehive-lab</groupId>
@@ -173,6 +174,15 @@ You can add **GPULlama3.java** directly to your Maven project by including the f
173174
</dependency>
174175
```
175176

177+
**JDK 25:**
178+
```xml
179+
<dependency>
180+
<groupId>io.github.beehive-lab</groupId>
181+
<artifactId>gpu-llama3</artifactId>
182+
<version>0.3.1-jdk25</version>
183+
</dependency>
184+
```
185+
176186
## ☕ Integration with Your Java Codebase or Tools
177187

178188
To integrate it into your codebase or IDE (e.g., IntelliJ) or custom build system (like IntelliJ, Maven, or Gradle), use the `--show-command` flag.

0 commit comments

Comments
 (0)