diff --git a/build.sbt b/build.sbt index 271dea9..1bb34ba 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,5 @@ name := "spark-resources-metrics-plugin" -version := "0.1-SNAPSHOT" -isSnapshot := true - scalaVersion := "2.12.19" crossScalaVersions := Seq("2.12.19", "2.13.13") @@ -22,3 +19,30 @@ Test / test / coverageHighlighting := true // coverageMinimumBranchPerPackage := 85 // coverageMinimumStmtPerFile := 85 // coverageMinimumBranchPerFile := 80 + +inThisBuild( + List( + organization := "io.github.dutrevis", + description := """ + Spark Resource Metrics plugin is an Apache Spark plugin that + registers metrics onto the Apache Spark metrics system, that + will sink values collected from operational system's resources, + aiming to cover metrics that the Spark metrics system do not + provide, like the Ganglia monitoring system metrics. + """, + homepage := Some( + url("https://github.com/dutrevis/spark-resources-metrics-plugin") + ), + licenses := List( + "Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0") + ), + developers := List( + Developer( + id = "dutrevis", + name = "Eduardo Trevisani", + email = "", + url = url("https://github.com/dutrevis") + ) + ) + ) +) diff --git a/project/plugins.sbt b/project/plugins.sbt index 58dea18..ea9af04 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,9 +1,8 @@ logLevel := Level.Warn +addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.11") -addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.4") -addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1") // This instructs sbt to always include the dependency without creating an error for different available versions. ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always