Skip to content

Commit

Permalink
version 0.3.1-1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mliarakos committed Apr 4, 2020
1 parent d5de344 commit 78e4012
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -15,7 +15,7 @@ Lagom.js is built against specific versions of Lagom:
| 0.1.2-1.5.4 | 1.5.4 | 2.11 <br> 2.12 | 0.6.31+ |
| 0.1.2-1.5.5 | 1.5.5 | 2.11 <br> 2.12 | 0.6.31+ |
| 0.2.1-1.6.0 | 1.6.0 | 2.12 | 0.6.31+ |
| 0.3.0-1.6.1 | 1.6.1 | 2.12 <br> 2.13 | 0.6.32+ |
| 0.3.1-1.6.1 | 1.6.1 | 2.12 <br> 2.13 | 0.6.32+ |

Lagom.js does not support the Lagom Java API. It only supports the Lagom Scala API because Scala.js only supports Scala.

Expand All @@ -28,7 +28,7 @@ Lagom.js provides JavaScript versions of several Lagom artifacts. The two most i
The `lagomjs-scaladsl-api` artifact provides the JavaScript implementation of the Lagom service API:

```sbt
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.0-1.6.1"
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.1-1.6.1"
```

To use it you'll need to configure your service API as a [Scala.js cross project](https://github.com/portable-scala/sbt-crossproject) for the JVM and JS platforms. Then, add the `lagomjs-scaladsl-api` dependency to the JS platform:
Expand All @@ -40,7 +40,7 @@ lazy val `service-api` = crossProject(JVMPlatform, JSPlatform)
libraryDependencies += lagomScaladslApi
)
.jsSettings(
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.0-1.6.1"
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.1-1.6.1"
)
```

Expand All @@ -51,15 +51,15 @@ This enables your Lagom service definition to be compiled into JavaScript. In ad
The `lagomjs-scaladsl-client` artifact provides the JavaScript implementation of the Lagom service client:

```sbt
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.0-1.6.1"
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.1-1.6.1"
```

You can use it in a Scala.js project along with your service API to generate a service client:

```scala
lazy val `client-js` = project
.settings(
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.0-1.6.1"
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.1-1.6.1"
)
.enablePlugins(ScalaJSPlugin)
.dependsOn(`service-api`.js)
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -50,7 +50,7 @@ lazy val publishSettings = Seq(

lazy val commonSettings = scalaSettings ++ publishSettings ++ Seq(
organization := "com.github.mliarakos.lagomjs",
version := s"0.3.1-$baseLagomVersion-SNAPSHOT"
version := s"0.3.1-$baseLagomVersion"
)

lazy val commonJsSettings = Seq(
Expand Down

0 comments on commit 78e4012

Please sign in to comment.