Skip to content

Commit

Permalink
Update dependencies info
Browse files Browse the repository at this point in the history
- Remove the `-jvm` suffix for the Gradle dependency - `-jvm` is only required for Maven. 
- Add note under Maven usage to highlight & explain the `-jvm` suffix.
  • Loading branch information
aSemy authored May 4, 2024
1 parent 687f6bf commit eb47649
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ val ast = booleanGrammar.parse("a & (b1 -> c1) | a1 & !b | !(a1 -> a2) -> a").ge

```kotlin
dependencies {
implementation("me.alllex.parsus:parsus-jvm:0.6.1")
implementation("me.alllex.parsus:parsus:0.6.1")
}
```

Expand Down Expand Up @@ -75,6 +75,11 @@ kotlin {
</dependency>
```

> ℹ️ The Parsus artifact ID must have a `-jvm` suffix when using Maven.
>
> Parsus is a Kotlin Multiplatform library with multiple targets, and Maven only supports JVM targets, and needs the `-jvm` suffix to select the Kotlin/JVM artifact.
> (Gradle can automatically select the correct target, and does not require a suffix.)
</details>

## Features
Expand Down

0 comments on commit eb47649

Please sign in to comment.