Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove MediatorWorkaroundPlugin #9917

Merged
merged 1 commit into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view

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