Skip to content

Commit

Permalink
Add sbt-ci-release (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrf authored Dec 14, 2023
1 parent 03be2c7 commit 39caf5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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)
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.9.0")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")

0 comments on commit 39caf5c

Please sign in to comment.