Skip to content

Commit

Permalink
Reintroduce publishTo setting
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Apr 2, 2024
1 parent a9c022f commit 521bd45
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
inThisBuild(
Seq(
scalaVersion := "3.4.1",
versionScheme := Some("early-semver"),
version := "10.0.5",
organization := "lichess.std",
licenses += "MIT" -> url("https://opensource.org/licenses/MIT")
scalaVersion := "3.4.1",
versionScheme := Some("early-semver"),
version := "10.0.5",
organization := "lichess.std",
licenses += ("MIT" -> url("https://opensource.org/licenses/MIT")),
publishTo := Option(Resolver.file("file", new File(sys.props.getOrElse("publishTo", ""))))
)
)

Expand Down Expand Up @@ -34,15 +35,17 @@ lazy val core: Project = Project("core", file("core")).settings(
)

// functions that useful for lila & lila-ws
lazy val lila: Project = Project("lila", file("lila")).settings(
commonSettings,
name := "lila",
libraryDependencies ++= List(
"com.github.ben-manes.caffeine" % "caffeine" % "3.1.8" % "compile",
"com.github.blemale" %% "scaffeine" % "5.2.1" % "compile",
"org.scalameta" %% "munit" % "1.0.0-M11" % Test
lazy val lila: Project = Project("lila", file("lila"))
.settings(
commonSettings,
name := "lila",
libraryDependencies ++= List(
"com.github.ben-manes.caffeine" % "caffeine" % "3.1.8" % "compile",
"com.github.blemale" %% "scaffeine" % "5.2.1" % "compile",
"org.scalameta" %% "munit" % "1.0.0-M11" % Test
)
)
).dependsOn(core)
.dependsOn(core)

lazy val root = project
.in(file("."))
Expand Down

0 comments on commit 521bd45

Please sign in to comment.