publish prepare

This commit is contained in:
Dmitry Sergeev 2018-09-09 10:13:23 +02:00
parent d59412e14d
commit 1bc2f1b60a
2 changed files with 10 additions and 4 deletions

View File

@ -19,13 +19,16 @@ val commons = Seq(
resolvers += Resolver.sonatypeRepo("releases"),
scalafmtOnCompile := true,
// see good explanation https://gist.github.com/djspiewak/7a81a395c461fd3a09a6941d4cd040f2
scalacOptions += "-Ypartial-unification"
scalacOptions += "-Ypartial-unification",
organization := "one.fluence",
bintrayOrganization := Some("fluencelabs"),
)
commons
lazy val core = project.settings(
commons,
version := "0.0.1",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % "1.2.0",
"org.typelevel" %% "cats-free" % "1.2.0",
@ -41,6 +44,7 @@ lazy val root = project
.dependsOn(core)
.aggregate(core)
.settings(
libraryDependencies ++= Seq("com.chuusai" %% "shapeless" % "2.3.3"),
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full)
libraryDependencies ++= Seq("com.chuusai" %% "shapeless" % "2.3.3"),
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full),
publishArtifact := false
)

View File

@ -1 +1,3 @@
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.4.0")
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.4.0")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.4")