forked from KarelCemus/play-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
64 lines (44 loc) · 1.74 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import com.jsuereth.sbtpgp.PgpKeys
import sbt.Keys._
import sbt._
normalizedName := "play-redis"
name := "Redis Cache for Play"
description := "Redis cache plugin for the Play framework 2"
organization := "com.github.karelcemus"
scalaVersion := "2.13.2"
crossScalaVersions := Seq( "2.12.11", scalaVersion.value )
playVersion := "2.8.1"
connectorVersion := "1.9.1"
specs2Version := "4.9.4"
libraryDependencies ++= Seq(
// play framework cache API
"com.typesafe.play" %% "play-cache" % playVersion.value % Provided,
// redis connector
"com.github.karelcemus" %% "rediscala" % connectorVersion.value,
// test framework
"org.specs2" %% "specs2-core" % specs2Version.value % Test,
// with mockito extension
"org.specs2" %% "specs2-mock" % specs2Version.value % Test,
// test module for play framework
"com.typesafe.play" %% "play-specs2" % playVersion.value % Test
)
resolvers ++= Seq(
"Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"
)
javacOptions ++= Seq( "-source", "1.8", "-target", "1.8", "-Xlint:unchecked", "-encoding", "UTF-8" )
scalacOptions ++= Seq( "-deprecation", "-feature", "-unchecked" )
homepage := Some( url( "https://github.com/karelcemus/play-redis" ) )
licenses := Seq( "Apache 2" -> url( "https://www.apache.org/licenses/LICENSE-2.0" ) )
vcsScm := "[email protected]:KarelCemus/play-redis.git"
authors := Seq( "Karel Čemus" )
// Release plugin settings
releaseCrossBuild := true
releaseTagName := ( version in ThisBuild ).value
releasePublishArtifactsAction := PgpKeys.publishSigned.value
// Publish settings
publishTo := {
if (isSnapshot.value) Some(Opts.resolver.sonatypeSnapshots)
else Some( Opts.resolver.sonatypeStaging )
}
// exclude from tests coverage
coverageExcludedFiles := ".*exceptions.*"