55name := " spark-measure"
66
77version := " 0.26"
8- isSnapshot := false
98
109scalaVersion := " 2.12.18"
11- crossScalaVersions := Seq (" 2.12.18" , " 2.13.8 " )
10+ crossScalaVersions := Seq (" 2.12.18" , " 2.13.16 " )
1211
1312licenses += (" Apache-2.0" , url(" http://www.apache.org/licenses/LICENSE-2.0" ))
1413
@@ -38,14 +37,16 @@ Test / javaOptions ++= Seq(
3837)
3938
4039// ─── Publishing ────────────────────────────────────────────────────────────────
41- publishMavenStyle := true
40+ Compile / packageSrc / publishArtifact := true
41+ Compile / packageDoc / publishArtifact := true
4242
43- publishTo := Some {
44- if (isSnapshot.value)
45- Opts .resolver.sonatypeOssSnapshots.head
46- else
47- Opts .resolver.sonatypeStaging
43+ ThisBuild / publishTo := {
44+ val snapshots = " https://central.sonatype.com/repository/maven-snapshots/"
45+ if (isSnapshot.value) Some (" central-snapshots" at snapshots)
46+ else localStaging.value
4847}
48+ ThisBuild / organizationHomepage := Some (url(" https://github.com/LucaCanali" ))
49+ ThisBuild / versionScheme := Some (" early-semver" )
4950
5051// ─── Project metadata ─────────────────────────────────────────────────────────
5152organization := " ch.cern.sparkmeasure"
@@ -65,7 +66,7 @@ homepage := Some(url("https://github.com/LucaCanali/sparkMeasure"))
6566scmInfo := Some (
6667 ScmInfo (
6768 browseUrl = url(" https://github.com/LucaCanali/sparkMeasure" ),
68- connection = " scm:git@github.com:LucaCanali/sparkMeasure.git"
69+ connection = " scm:git:git @github.com:LucaCanali/sparkMeasure.git"
6970 )
7071)
7172
0 commit comments