Skip to content

Commit

Permalink
Edit publishing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrf authored Dec 14, 2023
1 parent c9f4d0b commit 797703d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ parallelExecution in Global := false

val commonSettings = Seq(
organization := "org.julienrf",
version := "6.0.0-SNAPSHOT",
scalaVersion := "2.13.12"
)

lazy val homePage = settingKey[File]("Path to the project home page")

lazy val jsmessages = project
.settings(commonSettings: _*)
.settings(
Expand All @@ -17,12 +14,6 @@ lazy val jsmessages = project
component("play"),
"org.scala-lang.modules" %% "scala-collection-compat" % "2.8.1"
),
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org"
if (isSnapshot.value) Some("snapshots" at s"$nexus/content/repositories/snapshots")
else Some("releases" at s"$nexus/service/local/staging/deploy/maven2")
},
pomExtra := (
<url>http://github.com/julienrf/play-jsmessages</url>
<licenses>
Expand Down Expand Up @@ -53,7 +44,7 @@ val sampleSettings = commonSettings ++ Seq(
"com.typesafe.play" %% "play-ahc-ws-standalone" % "2.2.5" % Test,
"org.scalatestplus.play" %% "scalatestplus-play" % "6.0.0" % Test
),
//resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
publish / skip := true,
)

lazy val sampleScala = Project("sample-scala", file("sample-scala"))
Expand All @@ -68,4 +59,5 @@ lazy val sampleJava = Project("sample-java", file("sample-java"))

lazy val playJsmessages = project.in(file("."))
.settings(commonSettings: _*)
.settings(publish / skip := true)
.aggregate(jsmessages, sampleScala, sampleJava)

0 comments on commit 797703d

Please sign in to comment.