Skip to content

Commit 3393716

Browse files
committed
really fix publishing this time
sigh, without this we still get java.lang.RuntimeException: Repository for publishing is not specified. at scala.sys.package$.error(package.scala:27) at sbt.Classpaths$$anonfun$getPublishTo$1.apply(Defaults.scala:1583) at sbt.Classpaths$$anonfun$getPublishTo$1.apply(Defaults.scala:1583) at scala.Option.getOrElse(Option.scala:120) at sbt.Classpaths$.getPublishTo(Defaults.scala:1583) at com.typesafe.sbt.pgp.PgpSettings$$anonfun$signingSettings$2.apply(PgpSettings.scala:125) at com.typesafe.sbt.pgp.PgpSettings$$anonfun$signingSettings$2.apply(PgpSettings.scala:124)
1 parent 90de411 commit 3393716

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ val disablePublishing = Seq[Setting[_]](
1414
publishArtifact := false,
1515
// The above is enough for Maven repos but it doesn't prevent publishing of ivy.xml files
1616
publish := {},
17-
publishLocal := {}
17+
publishLocal := {},
18+
publishTo := Some(Resolver.file("devnull", file("/dev/null")))
1819
)
1920

2021
disablePublishing // in root

0 commit comments

Comments
 (0)