Skip to content

Commit

Permalink
Changes for publishing in Sonatype and Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierMonton committed Dec 23, 2020
1 parent 03e97c1 commit acd92f8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 18 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
name := "case-class-to-database-types"
name := "big-data-types"

version := "0.0.1"
version := "0.0.2"

scalaVersion := "2.13.3"

assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}

//Sonatype
publishTo := sonatypePublishToBundle.value

// groupId, SCM, license information
organization := "io.github.data-tools"
homepage := Some(url("https://github.com/data-tools/big-data-types"))
scmInfo := Some(ScmInfo(url("https://github.com/data-tools/big-data-types"), "git@github.com:data-tools/big-data-types.git"))
developers := List(Developer("JavierMonton", "Javier Monton", "", url("https://github.com/JavierMonton")))
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
publishMavenStyle := true

libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.clapper" %% "grizzled-slf4j" % "1.3.4",
Expand Down
3 changes: 3 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.5")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")
//addSbtPlugin("au.com.onegeek" %% "sbt-dotenv" % "2.0.117")

0 comments on commit acd92f8

Please sign in to comment.