@@ -2,16 +2,26 @@ name := "IterablePlayUtils"
22organization := " com.iterable"
33homepage := Some (url(" https://github.com/Iterable/iterable-play-utils" ))
44scmInfo := Some (
5- ScmInfo (url(" https://github.com/Iterable/iterable-play-utils" ), " scm:git@github.com:Iterable/iterable-play-utils.git" )
5+ ScmInfo (
6+ url(" https://github.com/Iterable/iterable-play-utils" ),
7+ " scm:git@github.com:Iterable/iterable-play-utils.git"
8+ )
69)
710
8- licenses := Seq (" Apache-2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0.txt" ))
11+ licenses := Seq (
12+ " Apache-2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0.txt" )
13+ )
914developers := List (
10- Developer (id = " Iterable" , name = " Iterable" , email = " engineering@iterable.com" , url = url(" https://iterable.com" ))
15+ Developer (
16+ id = " Iterable" ,
17+ name = " Iterable" ,
18+ email = " engineering@iterable.com" ,
19+ url = url(" https://iterable.com" )
20+ )
1121)
1222
13- scalaVersion := " 2.13.14 "
14- crossScalaVersions := Seq (scalaVersion.value )
23+ scalaVersion := " 2.13.16 "
24+ crossScalaVersions := Seq (" 2.13.16 " )
1525
1626val PlayVersion = " 3.0.1"
1727
@@ -23,35 +33,8 @@ libraryDependencies ++= Seq(
2333 " org.scalatest" %% " scalatest" % " 3.2.18" % Test
2434)
2535
26- parallelExecution in Test := false
27-
28- publishTo := {
29- val nexus = " https://oss.sonatype.org/"
30- if (isSnapshot.value)
31- Some (" snapshots" at (nexus + " content/repositories/snapshots" ))
32- else
33- Some (" releases" at (nexus + " service/local/staging/deploy/maven2" ))
34- }
35-
36- publishArtifact in Test := false
36+ import org .typelevel .scalacoptions .ScalacOptions
37+ Test / tpolecatExcludeOptions += ScalacOptions .warnNonUnitStatement
38+ Test / parallelExecution := false
39+ Test / publishArtifact := false
3740pomIncludeRepository := (_ => false )
38-
39- publishMavenStyle := true
40- publishTo := sonatypePublishToBundle.value
41-
42- import ReleaseTransformations ._
43- releaseCrossBuild := true
44- releaseProcess := Seq [ReleaseStep ](
45- checkSnapshotDependencies,
46- inquireVersions,
47- runClean,
48- runTest,
49- setReleaseVersion,
50- commitReleaseVersion,
51- tagRelease,
52- releaseStepCommandAndRemaining(" +publishSigned" ),
53- releaseStepCommand(" sonatypeBundleRelease" ),
54- setNextVersion,
55- commitNextVersion,
56- pushChanges
57- )
0 commit comments