aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorvlad <vlad@drivergrp.com>2016-08-08 15:47:14 -0700
committervlad <vlad@drivergrp.com>2016-08-08 15:47:14 -0700
commit7d22d3adef1ddd4b54ca306140cdec72600458ab (patch)
treef72b42083e292447139710b23bba87abb45a3eb4 /build.sbt
parent69560f6ebe82a56755dccbb1ba35d7a93d0dd69b (diff)
downloaddriver-core-7d22d3adef1ddd4b54ca306140cdec72600458ab.tar.gz
driver-core-7d22d3adef1ddd4b54ca306140cdec72600458ab.tar.bz2
driver-core-7d22d3adef1ddd4b54ca306140cdec72600458ab.zip
Start using sbt plugin for all settings
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt24
1 files changed, 3 insertions, 21 deletions
diff --git a/build.sbt b/build.sbt
index 9c4cc2f..e35d750 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,26 +1,10 @@
import sbt._
import Keys._
-import DriverConfigurations._
-
-
-lazy val compileScalastyle = taskKey[Unit]("compileScalastyle")
-
-lazy val buildSettings = Defaults.coreDefaultSettings ++ Seq (
- organization := "com.drivergrp",
- name := "core",
- scalaVersion := "2.11.8",
- scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-Xlint", "-encoding", "utf8",
- "-language:higherKinds", "-language:implicitConversions", "-language:postfixOps",
- "-Ywarn-infer-any", "-Ywarn-unused", "-Ywarn-unused-import"),
- fork in run := true,
- compileScalastyle := (scalastyle in Compile).toTask("").value,
- (compile in Compile) <<= ((compile in Compile) dependsOn compileScalastyle)
-) ++ wartRemoverSettings ++ DriverConfigurations.scalafmtSettings
lazy val akkaHttpV = "2.4.8"
lazy val core = (project in file(".")).
- settings(buildSettings: _*).
+ settings(name := "core").
settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http-core" % akkaHttpV,
@@ -35,9 +19,7 @@ lazy val core = (project in file(".")).
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
"ch.qos.logback" % "logback-classic" % "1.1.3",
"org.slf4j" % "slf4j-nop" % "1.6.4",
- "org.scalaz" %% "scalaz-core" % "7.2.4",
- "com.github.swagger-akka-http" %% "swagger-akka-http" % "0.7.1",
- "com.lihaoyi" %% "acyclic" % "0.1.4" % "provided"
+ "com.github.swagger-akka-http" %% "swagger-akka-http" % "0.7.1"
))
.gitPluginConfiguration
- .settings(publicationSettings() ++ releaseSettings())
+ .settings(publicationSettings ++ releaseSettings)