@@ -5,14 +5,13 @@ import java.io.PrintWriter
55import scala .io .Source
66import sbt .util .Level
77
8- val defaultScalaVersion = " 2.13.17 "
8+ ThisBuild / organization : = " org.scalatestplus "
99
10- scalaVersion := defaultScalaVersion
10+ ThisBuild / version := " 3.2.19.0 "
1111
12- publishTo := {
13- val nexus = " https://oss.sonatype.org/"
14- Some (" publish-releases" at nexus + " service/local/staging/deploy/maven2" )
15- }
12+ val defaultScalaVersion = " 2.13.17"
13+
14+ publishTo := localStaging.value
1615
1716publishArtifact := false
1817
@@ -48,9 +47,7 @@ def docTask(docDir: File, resDir: File, projectName: String): File = {
4847}
4948
5049val sharedSettings = Seq (
51- name := " scalacheck-1.19" ,
52- organization := " org.scalatestplus" ,
53- version := " 3.2.19.0" ,
50+ name := " scalacheck-1.19" ,
5451 homepage := Some (url(" https://github.com/scalatest/scalatestplus-scalacheck" )),
5552 licenses := List (" Apache-2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0" )),
5653 developers := List (
@@ -98,10 +95,7 @@ val sharedSettings = Seq(
9895 GenScalaCheckGen .genTest((Test / sourceManaged).value / " org" / " scalatest" / " check" , version.value, scalaVersion.value)
9996 }
10097 },
101- publishTo := {
102- val nexus = " https://oss.sonatype.org/"
103- Some (" publish-releases" at nexus + " service/local/staging/deploy/maven2" )
104- },
98+ publishTo := localStaging.value,
10599 publishMavenStyle := true ,
106100 Test / publishArtifact := false ,
107101 pomIncludeRepository := { _ => false },
0 commit comments