Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (33 sloc) 1.49 KB
name := "sangria-akka-streams"
organization := "org.sangria-graphql"
version := "1.0.2-SNAPSHOT"
description := "Sangria akka-streams integration"
homepage := Some(url("http://sangria-graphql.org"))
licenses := Seq("Apache License, ASL Version 2.0" url("http://www.apache.org/licenses/LICENSE-2.0"))
scalaVersion := "2.12.6"
crossScalaVersions := Seq("2.11.11", "2.12.6")
scalacOptions ++= Seq("-deprecation", "-feature")
libraryDependencies ++= Seq(
"org.sangria-graphql" %% "sangria-streaming-api" % "1.0.0",
"com.typesafe.akka" %% "akka-stream" % "2.5.12",
"org.scalatest" %% "scalatest" % "3.0.5" % Test)
// Publishing
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := (_ false)
publishTo := Some(
if (version.value.trim.endsWith("SNAPSHOT"))
"snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
else
"releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
startYear := Some(2016)
organizationHomepage := Some(url("https://github.com/sangria-graphql"))
developers := Developer("OlegIlyenko", "Oleg Ilyenko", "", url("https://github.com/OlegIlyenko")) :: Nil
scmInfo := Some(ScmInfo(
browseUrl = url("https://github.com/sangria-graphql/sangria-akka-streams.git"),
connection = "scm:git:git@github.com:sangria-graphql/sangria-akka-streams.git"
))
// nice *magenta* prompt!
shellPrompt in ThisBuild := { state
scala.Console.MAGENTA + Project.extract(state).currentRef.project + "> " + scala.Console.RESET
}