瀏覽代碼

Added scala3 support.

Thomas Flucke 4 年之前
父節點
當前提交
b0e623a5ea
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 0 1
      README.md
  2. 4 3
      build.sbt

+ 0 - 1
README.md

@@ -164,7 +164,6 @@ the script to run on a headless server.
 
 ## TODO:
 
-* JVM scala support
 * Java support
 * Clean support for other frameworks besides play!
 * Upickle serializer

+ 4 - 3
build.sbt

@@ -17,9 +17,10 @@ def commonSettings = Seq(
   //maintainer := "Thomas Flucke <admin@tflucke.name>",
   scalacOptions ++= Seq(
     "-deprecation",
-    "-unchecked"
+    "-unchecked",
+    "-feature"
   ),
-  crossScalaVersions := Seq("2.12.11", "2.12.10")
+  crossScalaVersions := Seq("3.1.0", "2.12.11", "2.12.10")
 )
 
 /****** The Actual Plugin ******/
@@ -65,7 +66,7 @@ lazy val library = crossProject(JSPlatform, JVMPlatform)
       "org.scala-js" %%% "scalajs-dom" % "0.9.8",
       "com.typesafe.play" %%% "play-json" % "2.8.1"
     ) else Seq(
-      "org.scala-js" %%% "scalajs-dom" % "1.0.0",
+      "org.scala-js" %%% "scalajs-dom" % "1.2.0",
       "com.typesafe.play" %%% "play-json" % "2.9.0"
     ))
   )