typesafehub / sbt-conductr

Typesafe ConductR plugin for sbt
Other
29 stars 22 forks source link

Play bundle plugin #143

Closed markusjura closed 8 years ago

markusjura commented 8 years ago

Adds the bundle plugin for Play projects. This auto plugin get triggered for each PlayJava or PlayScala project. This plugin, compared to the normal bundle plugin, adds default bundle key values and the play conductr bundle library to the Play project.

markusjura commented 8 years ago

Now sbt-conductr does not include the Lagom and Play sbt plugins as a dependency. Having them as dependencies resulted into version issues. If sbt-conductr added Play 2.5.x then it was not usable by Play 2.3.x and vice versa.

Instead we are using reflection to check if the particular plugin (e.g. Play or LagomJava) is part of the classpath. The same logic has been applied to the LagomBundlePlugin. Tests for Play 2.3, 2.4 and 2.5 have been added.

Also I've created a package object for functions or values that are used across different plugins.