From eb47649d38430872e9f805c6aa5ea6bc4bb054ea Mon Sep 17 00:00:00 2001 From: Adam <897017+aSemy@users.noreply.github.com> Date: Sat, 4 May 2024 12:52:32 +0200 Subject: [PATCH] Update dependencies info - 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. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 89b4603..1e4efd7 100644 --- a/README.md +++ b/README.md @@ -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") } ``` @@ -75,6 +75,11 @@ kotlin { ``` +> ℹ️ 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.) + ## Features