Skip to content

Commit

Permalink
fix for the artefact names in scala cask (#18480)
Browse files Browse the repository at this point in the history
* fix for the artefact names in scala cask

* updated the sample
  • Loading branch information
aaronp authored Apr 24, 2024
1 parent 59ba346 commit 4dc8531
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ ThisBuild / organization := "{{groupId}}"
ThisBuild / version := "0.0.1-SNAPSHOT"
ThisBuild / scalaVersion := "3.4.1"
ThisBuild / scalafmtOnCompile := true
ThisBuild / versionScheme := Some("early-semver")

// Common settings
lazy val commonSettings = Seq(
libraryDependencies ++= Seq(
"com.lihaoyi" %%% "upickle" % "3.2.0",
"org.scalatest" %%% "scalatest" % "3.2.18" % Test
)
),
name := "{{artifactId}}"
)


Expand All @@ -19,7 +21,7 @@ lazy val app = crossProject(JSPlatform, JVMPlatform).in(file(".")).
libraryDependencies += "com.lihaoyi" %% "cask" % "0.9.2"
).
jsSettings(
scalaJSUseMainModuleInitializer := true,
scalaJSUseMainModuleInitializer := true
)


Expand Down
6 changes: 4 additions & 2 deletions samples/server/petstore/scala-cask/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ ThisBuild / organization := "cask.groupId"
ThisBuild / version := "0.0.1-SNAPSHOT"
ThisBuild / scalaVersion := "3.4.1"
ThisBuild / scalafmtOnCompile := true
ThisBuild / versionScheme := Some("early-semver")

// Common settings
lazy val commonSettings = Seq(
libraryDependencies ++= Seq(
"com.lihaoyi" %%% "upickle" % "3.2.0",
"org.scalatest" %%% "scalatest" % "3.2.18" % Test
)
),
name := "scala-cask-petstore"
)


Expand All @@ -19,7 +21,7 @@ lazy val app = crossProject(JSPlatform, JVMPlatform).in(file(".")).
libraryDependencies += "com.lihaoyi" %% "cask" % "0.9.2"
).
jsSettings(
scalaJSUseMainModuleInitializer := true,
scalaJSUseMainModuleInitializer := true
)


Expand Down

0 comments on commit 4dc8531

Please sign in to comment.