forked from acrosa/scala-redis
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from dskrvk/remove_pubsub0204
Remove PubSubServer and dependency on Akka
- Loading branch information
Showing
7 changed files
with
69 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name := "RedisClient" | ||
|
||
lazy val redisClient = (project in file(".")).settings(coreSettings : _*) | ||
|
||
lazy val commonSettings: Seq[Setting[_]] = Seq( | ||
organization := "net.debasishg", | ||
version := "3.6", | ||
scalaVersion := "2.11.12", | ||
crossScalaVersions := Seq("2.12.4", "2.11.12", "2.10.7"), | ||
|
||
scalacOptions in Compile ++= Seq( "-unchecked", "-feature", "-language:postfixOps", "-deprecation" ), | ||
|
||
resolvers ++= Seq( | ||
"typesafe repo" at "http://repo.typesafe.com/typesafe/releases/" | ||
) | ||
) | ||
|
||
lazy val coreSettings = commonSettings ++ Seq( | ||
name := "RedisClient", | ||
libraryDependencies ++= Seq( | ||
"commons-pool" % "commons-pool" % "1.6", | ||
"org.slf4j" % "slf4j-api" % "1.7.25", | ||
"org.slf4j" % "slf4j-log4j12" % "1.7.25" % "provided", | ||
"log4j" % "log4j" % "1.2.17" % "provided", | ||
"junit" % "junit" % "4.12" % "test", | ||
"org.scalatest" %% "scalatest" % "3.0.4" % "test"), | ||
|
||
parallelExecution in Test := false, | ||
publishTo := version { (v: String) => | ||
val nexus = "https://oss.sonatype.org/" | ||
if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots") | ||
else Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
}.value, | ||
credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials"), | ||
publishMavenStyle := true, | ||
publishArtifact in Test := false, | ||
pomIncludeRepository := { repo => false }, | ||
pomExtra := ( | ||
<url>https://github.com/debasishg/scala-redis</url> | ||
<licenses> | ||
<license> | ||
<name>Apache 2.0 License</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<scm> | ||
<url>git@github.com:debasishg/scala-redis.git</url> | ||
<connection>scm:git:git@github.com:debasishg/scala-redis.git</connection> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<id>debasishg</id> | ||
<name>Debasish Ghosh</name> | ||
<url>http://debasishg.blogspot.com</url> | ||
</developer> | ||
</developers>), | ||
unmanagedResources in Compile += baseDirectory.map( _ / "LICENSE" ).value | ||
) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.17 | ||
sbt.version=1.1.0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.