Skip to content

Commit

Permalink
Update build.sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Aug 25, 2024
1 parent ba67212 commit f1f6932
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,7 @@ lazy val publishSettings = Seq(
)
),
publishMavenStyle := true,
pomIncludeRepository := { _ => false },
credentials ++= {
Seq("SONATYPE_USER", "SONATYPE_PASSWORD").map(sys.env.get) match {
case Seq(Some(user), Some(pass)) =>
Seq(Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", user, pass))
case _ =>
Seq()
}
}
pomIncludeRepository := { _ => false }
)

lazy val noPublishSettings = Seq(
Expand Down

0 comments on commit f1f6932

Please sign in to comment.