margussipria / sbt-closure   1.4.0

MIT License GitHub

sbt-web plugin with Google Closure Compiler integration

Scala versions: 2.12 2.10
sbt plugins: 1.0 0.13

sbt-closure

Build Status

sbt-web plugin which integrates with Google’s Closure Compiler.

Plugin

Add the plugin to your project/plugins.sbt (for sbt 0.13.5+ and 1.x):

addSbtPlugin("eu.sipria.sbt" % "sbt-closure" % "1.1.1")

Add the Sonatype releases resolver:

resolvers += Resolver.sonatypeRepo("releases")

Enable the sbt-web plugin for your project:

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

Add the closure task to your asset pipeline in your build.sbt:

pipelineStages := Seq(closure)

License

This code is licensed under the MIT License.