diff --git a/jsoniter-scala-examples/README.md b/jsoniter-scala-examples/README.md index 863cdb747..288472271 100644 --- a/jsoniter-scala-examples/README.md +++ b/jsoniter-scala-examples/README.md @@ -13,7 +13,7 @@ java -jar target/scala-2.13/jsoniter-scala-examples-assembly-0.1.0-SNAPSHOT.jar ## How to build with a native image and run binaries ```sh -/usr/lib/jvm/graalvm-ce-19/bin/native-image --no-server -H:UnsafeAutomaticSubstitutionsLogLevel=3 -jar target/scala-2.12/jsoniter-scala-examples-assembly-0.1.0-SNAPSHOT.jar +/usr/lib/jvm/graalvm-ce-19/bin/native-image --no-server --no-fallback -H:UnsafeAutomaticSubstitutionsLogLevel=3 -jar target/scala-2.13/jsoniter-scala-examples-assembly-0.1.0-SNAPSHOT.jar ./jsoniter-scala-examples-assembly-0.1.0-SNAPSHOT ``` \ No newline at end of file diff --git a/jsoniter-scala-examples/build.sbt b/jsoniter-scala-examples/build.sbt index fe7383548..4cbcb1fca 100644 --- a/jsoniter-scala-examples/build.sbt +++ b/jsoniter-scala-examples/build.sbt @@ -1,6 +1,6 @@ val `jsoniter-scala-examples` = project.in(file(".")) .settings( - scalaVersion := "2.12.8", + scalaVersion := "2.13.0", scalacOptions ++= Seq("-Xmacro-settings:print-codecs"), crossScalaVersions := Seq("2.13.0", "2.12.8", "2.11.12"), mainClass in assembly := Some("com.github.plokhotnyuk.jsoniter_scala.examples.Example01"),