Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 67a06c0

Browse files
committed
Move to sbt-ci-release
1 parent bb5904f commit 67a06c0

File tree

4 files changed

+27
-31
lines changed

4 files changed

+27
-31
lines changed

build.sbt

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
1+
inThisBuild(
2+
List(
3+
organization := "net.exoego",
4+
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
5+
scmInfo := Some(
6+
ScmInfo(
7+
url("https://github.com/exoego/scala-js-nodejs"),
8+
"scm:git:[email protected]:exoego/scala-js-nodejs.git"
9+
)
10+
),
11+
homepage := scmInfo.value.map(_.browseUrl),
12+
developers := List(
13+
Developer(
14+
id = "exoego",
15+
name = "TATSUNO Yasuhiro",
16+
email = "[email protected]",
17+
url = url("https://www.exoego.net")
18+
)
19+
)
20+
)
21+
)
22+
123
lazy val scala213 = "2.13.8"
224
lazy val scala212 = "2.12.15"
3-
ThisBuild / organization := "net.exoego"
425
ThisBuild / crossScalaVersions := Seq(scala213, scala212)
526
ThisBuild / scalaVersion := scala213
627
Global / excludeLintKeys ++= Set(publishArtifact, scalacOptions)

project/MySettings.scala

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -84,36 +84,13 @@ object MySettings {
8484
)
8585

8686
lazy val publishingSettings = Seq(
87-
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
88-
scmInfo := Some(
89-
ScmInfo(
90-
url("https://github.com/exoego/scala-js-nodejs"),
91-
"scm:git:[email protected]:exoego/scala-js-nodejs.git"
92-
)
93-
),
94-
homepage := scmInfo.value.map(_.browseUrl),
95-
developers := List(
96-
Developer(
97-
id = "exoego",
98-
name = "TATSUNO Yasuhiro",
99-
email = "[email protected]",
100-
url = url("https://www.exoego.net")
101-
)
102-
),
103-
publishMavenStyle := true,
10487
Test / publishArtifact := false,
10588
Compile / packageDoc / publishArtifact := true,
10689
Compile / packageSrc / publishArtifact := true,
10790
packageDoc / publishArtifact := true,
10891
pomIncludeRepository := { _ =>
10992
false
11093
},
111-
publishTo := Some(
112-
if (isSnapshot.value)
113-
Opts.resolver.sonatypeSnapshots
114-
else
115-
Opts.resolver.sonatypeStaging
116-
),
11794
publishConfiguration := publishConfiguration.value.withOverwrite(false),
11895
publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true),
11996
releaseIgnoreUntrackedFiles := true,

project/plugins.sbt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0")
2-
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
3-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.10")
4-
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0")
5-
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
6-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")
1+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0")
2+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
3+
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0")
4+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")
5+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.9")

version.sbt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)