We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66fbf9c commit 6e403cbCopy full SHA for 6e403cb
1 file changed
src/main/scala/com/ossuminc/sbt/helpers/Laminar.scala
@@ -23,6 +23,7 @@ object Laminar extends AutoPluginHelper {
23
val org = v_laminext match {
24
case s: String if s.startsWith("0.") =>
25
val strs = s.split(".")
26
+ require(strs.length > 2, "Invalid 3 part laminex version")
27
val minor = strs(1).toInt
28
if (minor < 17) "io.laminext"
29
else if (minor >= 18) "dev.laminext"
@@ -41,6 +42,8 @@ object Laminar extends AutoPluginHelper {
41
42
case "ui" => org %%% "ui" % v_laminext
43
case "validation" => org %%% "validation" % v_laminext
44
case "util" => org %%% "util" % v_laminext
45
+ case s: String =>
46
+ throw new IllegalArgumentException(s"Unsupported laminar module $s")
47
}
48
49
Seq(
0 commit comments