Skip to content

Commit b9a7580

Browse files
committed
root project no publish
1 parent 91bd966 commit b9a7580

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.sbt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ ThisBuild / publishArtifact in Test := false
1717
ThisBuild / publishMavenStyle := true
1818
ThisBuild / releaseCrossBuild := true
1919

20+
lazy val noPublish = Seq(
21+
publishLocal / skip := true,
22+
publish / skip := true,
23+
publishTo := Some(Resolver.file("Unused transient repository", file("target/unusedrepo")))
24+
)
25+
2026
lazy val stringdiff =
2127
crossProject(JVMPlatform, JSPlatform)
2228
.crossType(CrossType.Pure)
@@ -49,7 +55,7 @@ lazy val stringdiff =
4955

5056
lazy val root = project
5157
.in(file("."))
52-
.settings()
58+
.settings(noPublish)
5359
.aggregate(
5460
stringdiff.js,
5561
stringdiff.jvm

0 commit comments

Comments
 (0)