mirror of
https://github.com/fluencelabs/hackethberlin
synced 2025-04-24 17:02:18 +00:00
52 lines
1.7 KiB
Scala
52 lines
1.7 KiB
Scala
name := "sol-dsl"
|
|
|
|
version := "0.1"
|
|
|
|
scalaVersion := "2.12.6"
|
|
|
|
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.7")
|
|
|
|
val commons = Seq(
|
|
version := "0.1",
|
|
fork in Test := true,
|
|
parallelExecution in Test := false,
|
|
organizationName := "Fluence Labs Limited",
|
|
organizationHomepage := Some(new URL("https://fluence.one")),
|
|
startYear := Some(2018),
|
|
licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt")),
|
|
//headerLicense := Some(License.ALv2("2018", organizationName.value)),
|
|
resolvers += Resolver.bintrayRepo("fluencelabs", "releases"),
|
|
resolvers += Resolver.sonatypeRepo("releases"),
|
|
scalafmtOnCompile := true,
|
|
// see good explanation https://gist.github.com/djspiewak/7a81a395c461fd3a09a6941d4cd040f2
|
|
scalacOptions += "-Ypartial-unification",
|
|
organization := "one.fluence",
|
|
bintrayOrganization := Some("fluencelabs"),
|
|
)
|
|
|
|
commons
|
|
|
|
lazy val crotalinae = project.in(file("core")).settings(
|
|
commons,
|
|
artifact := Artifact("crotalinae"),
|
|
version := "0.0.4",
|
|
libraryDependencies ++= Seq(
|
|
"org.typelevel" %% "cats-core" % "1.2.0",
|
|
"org.typelevel" %% "cats-free" % "1.2.0",
|
|
"com.chuusai" %% "shapeless" % "2.3.3",
|
|
"org.scalatest" %% "scalatest" % "3.0.5" % Test,
|
|
scalaVersion("org.scala-lang" % "scala-reflect" % _).value
|
|
),
|
|
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full)
|
|
)
|
|
|
|
lazy val root = project
|
|
.in(file("."))
|
|
.dependsOn(crotalinae)
|
|
.aggregate(crotalinae)
|
|
.settings(
|
|
libraryDependencies ++= Seq("com.chuusai" %% "shapeless" % "2.3.3"),
|
|
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full),
|
|
publishArtifact := false
|
|
)
|