Skip to content

Commit

Permalink
Add publishTo setting
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed May 11, 2024
1 parent 03364cc commit b2d9eb0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ inThisBuild(
Compile / doc / sources := Seq.empty,
Compile / packageDoc / publishArtifact := false,
Compile / packageSrc / publishArtifact := false,
publishTo := Option(Resolver.file("file", new File(sys.props.getOrElse("publishTo", "")))),
resolvers += "lila-maven" at "https://raw.githubusercontent.com/ornicar/lila-maven/master"
)
)
Expand All @@ -40,7 +41,7 @@ lazy val core = project
.settings(
crossScalaVersions := supportedScalaVersions,
tpolecatScalacOptions ++= Set(ScalacOptions.source3),
name := "lila-search-core",
name := "lila-search-core",
publish := {},
publish / skip := true,
libraryDependencies ++= Seq(
Expand All @@ -56,7 +57,7 @@ lazy val play = project
.disablePlugins(PlayFilters)
.settings(
tpolecatExcludeOptions += ScalacOptions.fatalWarnings,
name := "lila-search",
name := "lila-search",
publish := {},
publish / skip := true,
libraryDependencies ++= Seq(
Expand Down Expand Up @@ -94,7 +95,7 @@ lazy val client = (project in file("modules/client"))

lazy val app = (project in file("modules/app"))
.settings(
name := "lila-search-v3",
name := "lila-search-v3",
publish := {},
publish / skip := true,
commonSettings,
Expand Down

0 comments on commit b2d9eb0

Please sign in to comment.