Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ directly. Windows, macOS, and Linux, on x86_64 and aarch64. Requires JDK 25+.

| Artifact | Purpose |
|--------------------------------------------------------|---|
| `io.github.refux:slang-java:0.0.10` | The library: compiler API, reflection, Java file systems |
| `io.github.refux:slang-java-natives:0.0.10:<os>-<arch>` | The official Slang binaries, as one classifier per platform: `windows`, `linux`, or `macos` × `x86_64` or `aarch64` |
| `io.github.refux:slang-java:0.0.11` | The library: compiler API, reflection, Java file systems |
| `io.github.refux:slang-java-natives:0.0.11:<os>-<arch>` | The official Slang binaries, as one classifier per platform: `windows`, `linux`, or `macos` × `x86_64` or `aarch64` |

The library version tracks slang-java's own API, not Slang's. To see which Slang release a jar
binds, read its manifest — no resolving, no running:

```bash
unzip -p slang-java-0.0.10.jar META-INF/MANIFEST.MF
unzip -p slang-java-0.0.11.jar META-INF/MANIFEST.MF
```

`Slang-Version` there is a **floor**, not a lockstep: it names the release the bindings were
Expand Down Expand Up @@ -51,8 +51,8 @@ val slangNatives = "${
}-${if (System.getProperty("os.arch") in listOf("aarch64", "arm64")) "aarch64" else "x86_64"}"

dependencies {
implementation("io.github.refux:slang-java:0.0.10")
runtimeOnly("io.github.refux:slang-java-natives:0.0.10:$slangNatives")
implementation("io.github.refux:slang-java:0.0.11")
runtimeOnly("io.github.refux:slang-java-natives:0.0.11:$slangNatives")
}

tasks.withType<JavaExec> {
Expand All @@ -65,10 +65,10 @@ classpath together and the loader picks the host's at runtime (LWJGL-style):

```kotlin
dependencies {
implementation("io.github.refux:slang-java:0.0.10")
runtimeOnly("io.github.refux:slang-java-natives:0.0.10:macos-aarch64")
runtimeOnly("io.github.refux:slang-java-natives:0.0.10:windows-x86_64")
runtimeOnly("io.github.refux:slang-java-natives:0.0.10:linux-x86_64")
implementation("io.github.refux:slang-java:0.0.11")
runtimeOnly("io.github.refux:slang-java-natives:0.0.11:macos-aarch64")
runtimeOnly("io.github.refux:slang-java-natives:0.0.11:windows-x86_64")
runtimeOnly("io.github.refux:slang-java-natives:0.0.11:linux-x86_64")
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ org.gradle.caching=true
# Single source of truth for the published version (library + natives artifacts).
# Release tags must match: tag v0.0.1 <-> version=0.0.1.
group=io.github.refux
version=0.0.10
version=0.0.11
Loading