diff --git a/project/plugins.sbt b/project/plugins.sbt index a050c10..8ffdcad 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,12 +3,11 @@ resolvers ++= Seq( // need for load sbt-schema-registry-plugin dependencies "Confluent" at "https://packages.confluent.io/maven/", ) +libraryDependencies += "org.apache.avro" % "avro-compiler" % "1.11.3" addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") -addSbtPlugin("io.gatling" % "gatling-sbt" % "4.9.0") +addSbtPlugin("io.gatling" % "gatling-sbt" % "4.7.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") addSbtPlugin("com.github.sbt" % "sbt-avro" % "3.4.3") addSbtPlugin("org.galaxio" % "sbt-schema-registry-plugin" % "0.4.0") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.12") - -libraryDependencies += "org.apache.avro" % "avro-compiler" % "1.11.3" diff --git a/publish.sbt b/publish.sbt index 8de3b38..7b09e8c 100644 --- a/publish.sbt +++ b/publish.sbt @@ -23,7 +23,8 @@ ThisBuild / developers := List( ) // Remove all additional repository other than Maven Central from POM -ThisBuild / publishTo := { +ThisBuild / pomIncludeRepository := { _ => false } +ThisBuild / publishTo := { val nexus = "https://s01.oss.sonatype.org/" if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots") else Some("releases" at nexus + "service/local/staging/deploy/maven2")