Skip to content

Commit

Permalink
chore: Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jigarkhwar committed Apr 29, 2024
1 parent a3b8f6f commit b7d75c1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
addSbtPlugin("io.gatling" % "gatling-sbt" % "4.3.2")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
addSbtPlugin("com.github.sbt" % "sbt-avro" % "3.4.2")
addSbtPlugin("ru.tinkoff" % "sbt-schema-registry-plugin" % "0.2.1")
addSbtPlugin("org.galaxio" % "sbt-schema-registry-plugin" % "0.3.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.7")

libraryDependencies += "org.apache.avro" % "avro-compiler" % "1.11.1"
23 changes: 18 additions & 5 deletions publish.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
ThisBuild / organization := "org.galaxio"
ThisBuild / scmInfo := Some(
ThisBuild / versionScheme := Some("semver-spec")
ThisBuild / organization := "org.galaxio"
ThisBuild / organizationName := "Galaxio Team"
ThisBuild / organizationHomepage := Some(url("https://github.com/galax-io"))
ThisBuild / description := "Plugin to support kafka performance testing in Gatling."
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"),
"[email protected]:galax-io/gatling-kafka-plugin.git",
Expand All @@ -10,11 +15,19 @@ ThisBuild / developers := List(
Developer(
id = "jigarkhwar",
name = "Ioann Akhaltsev",
email = "none",
email = "[email protected]",
url = url("https://github.com/jigarkhwar"),
),
)

ThisBuild / description := "Plugin to support kafka performance testing in Gatling(3.9.x)."
// Remove all additional repository other than Maven Central from POM
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")
}

ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"

ThisBuild / licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
ThisBuild / homepage := Some(url("https://github.com/galax-io/gatling-kafka-plugin"))
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import org.apache.kafka.common.serialization.Serde
import org.galaxio.gatling.kafka.KafkaCheck
import org.galaxio.gatling.kafka.request.KafkaProtocolMessage

final class KafkaCheckMaterializer[T, P] private[KafkaCheckMaterializer](
final class KafkaCheckMaterializer[T, P] private[KafkaCheckMaterializer] (
override val preparer: Preparer[KafkaProtocolMessage, P],
) extends CheckMaterializer[T, KafkaCheck, KafkaProtocolMessage, P](identity)

Expand Down

0 comments on commit b7d75c1

Please sign in to comment.