File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ val slf4jVersion = "2.0.17"
1212// ─── Project coordinates ────────────────────────────────────────────────────
1313name := " spark-plugins"
1414organization := " ch.cern.sparkmeasure"
15- version := " 0.4-SNAPSHOT "
16- isSnapshot := true
15+ version := " 0.4"
16+ isSnapshot := false
1717scalaVersion := scala212
1818crossScalaVersions := Seq (scala212, scala213)
1919publishMavenStyle := 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"
3443description := " Use Spark Plugins to extend Apache Spark with custom metrics and executors' startup actions."
3544
3645homepage := 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- }
Original file line number Diff line number Diff line change 11logLevel := 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" )
Original file line number Diff line number Diff line change 1+ credentials += Credentials (
2+ Path .userHome / " .sbt" / " 1.0" / " sonatype_credentials"
3+ )
4+
You can’t perform that action at this time.
0 commit comments