From fd5ce3b375a616bf82e86097cddb5bcd08ed541e Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Fri, 7 Oct 2022 09:02:24 -0700 Subject: [PATCH] No-publish the root (#178) --- build.sbt | 4 +++- project/plugin.sbt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 5cfa08621..26598cd33 100644 --- a/build.sbt +++ b/build.sbt @@ -6,6 +6,8 @@ def projectName = "scala-yaml" def localSnapshotVersion = "0.0.6-SNAPSHOT" def isCI = System.getenv("CI") != null +enablePlugins(NoPublishPlugin) + inThisBuild( List( organization := "org.virtuslab", @@ -62,7 +64,6 @@ lazy val integration = project .settings( name := "integration", moduleName := "integration", - publish / skip := true, libraryDependencies ++= List( Deps.munit, Deps.osLib, @@ -70,3 +71,4 @@ lazy val integration = project ) ) .settings(docsSettings) + .enablePlugins(NoPublishPlugin) diff --git a/project/plugin.sbt b/project/plugin.sbt index 01de99601..d2c216e73 100644 --- a/project/plugin.sbt +++ b/project/plugin.sbt @@ -11,3 +11,5 @@ addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.2.0") addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.1") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.7") + +addSbtPlugin("org.typelevel" % "sbt-typelevel-no-publish" % "0.4.15")