Skip to content

Commit

Permalink
Remove MediatorWorkaroundPlugin (#9917)
Browse files Browse the repository at this point in the history
Remove MediatorWorkaroundPlugin
  • Loading branch information
ignasi35 committed Dec 17, 2019
2 parents c335189 + bc237fe commit d0f53a1
Show file tree
Hide file tree
Showing 27 changed files with 2 additions and 83 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
lazy val root = (project in file("."))
.enablePlugins(PlayService)
.enablePlugins(RoutesCompiler)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
scalaVersion := sys.props("scala.version"),
updateOptions := updateOptions.value.withLatestSnapshots(false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayService)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
scalaVersion := sys.props("scala.version"),
updateOptions := updateOptions.value.withLatestSnapshots(false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
scalaVersion := sys.props("scala.version"),
updateOptions := updateOptions.value.withLatestSnapshots(false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import com.typesafe.sbt.packager.Keys.executableScriptName

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
name := "assets-sample",
version := "1.0-SNAPSHOT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
name := "dist-no-documentation-sample",
version := "1.0-SNAPSHOT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
name := "dist-sample",
version := "1.0-SNAPSHOT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version := "1.0-SNAPSHOT"

lazy val root = (project in file("."))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
scalaVersion := sys.props("scala.version"),
updateOptions := updateOptions.value.withLatestSnapshots(false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version := "1.0-SNAPSHOT"

lazy val root = (project in file("."))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
scalaVersion := sys.props("scala.version"),
updateOptions := updateOptions.value.withLatestSnapshots(false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version := "1.0-SNAPSHOT"

lazy val root = (project in file("."))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
scalaVersion := sys.props("scala.version"),
updateOptions := updateOptions.value.withLatestSnapshots(false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayService)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
scalaVersion := sys.props("scala.version"),
updateOptions := updateOptions.value.withLatestSnapshots(false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (C) 2009-2019 Lightbend Inc. <https://www.lightbend.com>
//

lazy val root = (project in file(".")).enablePlugins(PlayScala).enablePlugins(MediatorWorkaroundPlugin)
lazy val root = (project in file(".")).enablePlugins(PlayScala)

name := "http-backend-system-property"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import com.typesafe.sbt.packager.Keys.executableScriptName

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.dependsOn(module)
.aggregate(module)
.settings(
Expand All @@ -20,9 +19,7 @@ lazy val root = (project in file("."))
excludeFilter in (Assets, LessKeys.less) := "_*.less"
)

lazy val module = (project in file("module"))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
lazy val module = (project in file("module")).enablePlugins(PlayScala)

TaskKey[Unit]("unzipAssetsJar") := {
IO.unzip(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,17 @@

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.dependsOn(playmodule, nonplaymodule)
.settings(common: _*)

lazy val playmodule = (project in file("playmodule"))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.dependsOn(transitive)
.settings(common: _*)

// A transitive dependency of playmodule, to check that we are pulling in transitive deps
lazy val transitive = (project in file("transitive"))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(common: _*)

// A non play module, to check that play settings that are not defined don't cause errors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import com.typesafe.config.ConfigFactory

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
name := "secret-sample",
version := "1.0-SNAPSHOT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
name := "secret-sample",
version := "1.0-SNAPSHOT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.dependsOn(a, c)
.aggregate(common, a, b, c, nonplay)
Expand All @@ -21,7 +20,6 @@ def commonSettings: Seq[Setting[_]] = Seq(

lazy val common = (project in file("common"))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.settings(
aggregateReverseRoutes := Seq(a, b, c)
Expand All @@ -32,18 +30,15 @@ lazy val nonplay = (project in file("nonplay"))

lazy val a: Project = (project in file("a"))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.dependsOn(nonplay, common)

lazy val b: Project = (project in file("b"))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.dependsOn(common)

lazy val c: Project = (project in file("c"))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.dependsOn(b)
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.dependsOn(a, c)
.aggregate(common, a, b, c, nonplay)
Expand All @@ -21,7 +20,6 @@ def commonSettings: Seq[Setting[_]] = Seq(

lazy val common = (project in file("common"))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.settings(
aggregateReverseRoutes := Seq(a, b, c)
Expand All @@ -32,18 +30,15 @@ lazy val nonplay = (project in file("nonplay"))

lazy val a: Project = (project in file("a"))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.dependsOn(nonplay, common)

lazy val b: Project = (project in file("b"))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.dependsOn(common)

lazy val c: Project = (project in file("c"))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(commonSettings: _*)
.dependsOn(b)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
lazy val root = (project in file("."))
.enablePlugins(RoutesCompiler)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
scalaVersion := sys.props("scala.version"),
updateOptions := updateOptions.value.withLatestSnapshots(false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
lazy val root = (project in file("."))
.enablePlugins(PlayJava)
.enablePlugins(MediatorWorkaroundPlugin)

libraryDependencies ++= Seq(guice, specs2 % Test)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)

libraryDependencies ++= Seq(guice, specs2 % Test)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)

libraryDependencies ++= Seq(guice, specs2 % Test)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)

libraryDependencies ++= Seq(guice, specs2 % Test)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import scala.reflect.{ ClassTag, classTag }

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)

libraryDependencies += guice

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(MediatorWorkaroundPlugin)
.settings(
name := "secret-sample",
version := "1.0-SNAPSHOT",
Expand Down

0 comments on commit d0f53a1

Please sign in to comment.