From 3fd1c37b7db30c6e79f32a0c196f6f713a066ea9 Mon Sep 17 00:00:00 2001 From: John Axe Date: Tue, 30 Apr 2024 09:22:06 -0300 Subject: [PATCH] feat: add silent option --- publish.sbt | 6 +++--- .../kafka/actions/KafkaRequestAvro4sActionBuilder.scala | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/publish.sbt b/publish.sbt index fecb38e..886cf46 100644 --- a/publish.sbt +++ b/publish.sbt @@ -3,8 +3,8 @@ ThisBuild / organization := "org.galaxio" ThisBuild / organizationName := "Galaxio Team" ThisBuild / organizationHomepage := Some(url("https://github.com/galax-io")) -ThisBuild / homepage := Some(url("https://github.com/galax-io/gatling-kafka-plugin")) -ThisBuild / scmInfo := Some( +ThisBuild / homepage := Some(url("https://github.com/galax-io/gatling-kafka-plugin")) +ThisBuild / scmInfo := Some( ScmInfo( url("https://github.com/galax-io/gatling-kafka-plugin"), "git@github.com:galax-io/gatling-kafka-plugin.git", @@ -22,7 +22,7 @@ ThisBuild / developers := List( // Remove all additional repository other than Maven Central from POM ThisBuild / pomIncludeRepository := { _ => false } -ThisBuild / publishTo := { +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") diff --git a/src/main/scala/org/galaxio/gatling/kafka/actions/KafkaRequestAvro4sActionBuilder.scala b/src/main/scala/org/galaxio/gatling/kafka/actions/KafkaRequestAvro4sActionBuilder.scala index bbfcec4..7e4aa2a 100644 --- a/src/main/scala/org/galaxio/gatling/kafka/actions/KafkaRequestAvro4sActionBuilder.scala +++ b/src/main/scala/org/galaxio/gatling/kafka/actions/KafkaRequestAvro4sActionBuilder.scala @@ -13,7 +13,8 @@ import org.galaxio.gatling.kafka.request.builder.Avro4sAttributes import scala.jdk.CollectionConverters._ import scala.reflect.ClassTag -case class KafkaRequestAvro4sActionBuilder[K: ClassTag, V: ClassTag](attributes: Avro4sAttributes[K, V]) extends ActionBuilder with NameGen { +case class KafkaRequestAvro4sActionBuilder[K: ClassTag, V: ClassTag](attributes: Avro4sAttributes[K, V]) + extends ActionBuilder with NameGen { override def build(ctx: ScenarioContext, next: Action): Action = { import ctx._