@@ -57,10 +57,6 @@ val standardSettings = Seq[Setting[_]](
5757 // We should remove this when all transitive dependencies use the same version of scala-xml
5858 // For now this isn't considered an issue due to the compatability between 1.2.x and 2.1.x of the library
5959 libraryDependencySchemes += " org.scala-lang.modules" %% " scala-xml" % VersionScheme .Always ,
60- resolvers ++= Seq (
61- " Guardian GitHub Releases" at " https://guardian.github.com/maven/repo-releases" ,
62- " Guardian GitHub Snapshots" at " https://guardian.github.com/maven/repo-snapshots"
63- ),
6460 libraryDependencies ++= Seq (
6561 " com.github.nscala-time" %% " nscala-time" % " 3.0.0" ,
6662 " com.softwaremill.macwire" %% " macros" % " 2.6.7" % " provided" ,
@@ -102,7 +98,6 @@ lazy val common = project
10298 .settings(standardSettings : _* )
10399 .settings(
104100 libraryDependencies ++= Seq (
105- ws,
106101 " org.typelevel" %% " cats-core" % catsVersion,
107102 " joda-time" % " joda-time" % " 2.14.0" ,
108103 " org.playframework" %% " play-json" % playJsonVersion,
@@ -134,6 +129,14 @@ lazy val common = project
134129 Test / testOptions += Tests .Argument (TestFrameworks .Specs2 , " sequential" , " true" )
135130 )
136131
132+ lazy val commonplay = project
133+ .dependsOn(common, commontest % " test->test" ).settings(
134+ libraryDependencies ++= Seq (
135+ ws,
136+ " org.playframework" %% " play" % " 3.0.7"
137+ )
138+ )
139+
137140lazy val commonscheduledynamodb = project
138141 .settings(LocalDynamoDBScheduleLambda .settings)
139142 .settings(List (
@@ -152,7 +155,7 @@ lazy val commonscheduledynamodb = project
152155 ))
153156
154157lazy val registration = project
155- .dependsOn(common , commontest % " test->test" )
158+ .dependsOn(commonplay , commontest % " test->test" )
156159 .enablePlugins(SystemdPlugin , PlayScala , JDebPackaging )
157160 .settings(standardSettings : _* )
158161 .settings(
@@ -171,7 +174,7 @@ lazy val registration = project
171174 )
172175
173176lazy val notification = project
174- .dependsOn(common )
177+ .dependsOn(commonplay )
175178 .dependsOn(commonscheduledynamodb)
176179 .enablePlugins(SystemdPlugin , PlayScala , JDebPackaging )
177180 .settings(standardSettings : _* )
@@ -191,7 +194,7 @@ lazy val notification = project
191194 )
192195
193196lazy val report = project
194- .dependsOn(common , commontest % " test->test" )
197+ .dependsOn(commonplay , commontest % " test->test" )
195198 .enablePlugins(SystemdPlugin , PlayScala , JDebPackaging )
196199 .settings(standardSettings : _* )
197200 .settings(
@@ -235,10 +238,6 @@ def lambda(projectName: String, directoryName: String, mainClassName: Option[Str
235238 .enablePlugins(AssemblyPlugin )
236239 .settings(
237240 organization := " com.gu" ,
238- resolvers ++= Seq (
239- " Guardian GitHub Releases" at " https://guardian.github.com/maven/repo-releases" ,
240- " snapshots" at " https://oss.sonatype.org/content/repositories/snapshots"
241- ),
242241 libraryDependencies ++= Seq (
243242 " com.amazonaws" % " aws-lambda-java-core" % " 1.4.0" ,
244243 " org.slf4j" % " slf4j-api" % slf4jVersion,
@@ -285,7 +284,6 @@ lazy val schedulelambda = lambda("schedule", "schedulelambda")
285284lazy val football = lambda(" football" , " football" )
286285 .dependsOn(apiModels % " test->test" , apiModels % " compile->compile" )
287286 .settings(
288- resolvers += " Guardian GitHub Releases" at " https://guardian.github.com/maven/repo-releases" ,
289287 libraryDependencies ++= Seq (
290288 " org.scanamo" %% " scanamo" % " 1.0.0-M12-1" ,
291289 " org.scanamo" %% " scanamo-testkit" % " 1.0.0-M12-1" % " test" ,
0 commit comments