Skip to content

Commit be4c51a

Browse files
committed
Release 0.4
1 parent 99c48bf commit be4c51a

3 files changed

Lines changed: 19 additions & 14 deletions

File tree

build.sbt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ val slf4jVersion = "2.0.17"
1212
// ─── Project coordinates ────────────────────────────────────────────────────
1313
name := "spark-plugins"
1414
organization := "ch.cern.sparkmeasure"
15-
version := "0.4-SNAPSHOT"
16-
isSnapshot := true
15+
version := "0.4"
16+
isSnapshot := false
1717
scalaVersion := scala212
1818
crossScalaVersions := Seq(scala212, scala213)
1919
publishMavenStyle := true
@@ -30,7 +30,16 @@ libraryDependencies ++= Seq(
3030
"org.slf4j" % "slf4j-api" % slf4jVersion
3131
)
3232

33-
// ─── Metadata ───────────────────────────────────────────────────────────────
33+
// ─── Publishing to Sonatype OSSRH ────────────────────────────────────────────
34+
publishTo := Some {
35+
if (isSnapshot.value)
36+
Opts.resolver.sonatypeOssSnapshots.head
37+
else
38+
Opts.resolver.sonatypeStaging
39+
}
40+
41+
// ─── Project metadata ─────────────────────────────────────────────────────────
42+
organization := "ch.cern.sparkmeasure"
3443
description := "Use Spark Plugins to extend Apache Spark with custom metrics and executors' startup actions."
3544

3645
homepage := Some(url("https://github.com/cerndb/SparkPlugins"))
@@ -49,11 +58,3 @@ scmInfo := Some(
4958
connection = "scm:git@github.com:cerndb/SparkPlugins.git"
5059
)
5160
)
52-
53-
// ─── Publishing to Sonatype OSSRH ────────────────────────────────────────────
54-
publishTo := Some {
55-
if (isSnapshot.value)
56-
Opts.resolver.sonatypeOssSnapshots.head
57-
else
58-
Opts.resolver.sonatypeStaging
59-
}

project/plugins.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
logLevel := Level.Warn
22

3-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
4-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.4")
5-
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
3+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1")
4+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")
5+
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")

project/sonatype.sbt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
credentials += Credentials(
2+
Path.userHome / ".sbt" / "1.0" / "sonatype_credentials"
3+
)
4+

0 commit comments

Comments
 (0)