Sbt-webjars-packager

An SBT plugin to Webjars packaging with external resources.

Download .zip Download .tar.gz View on GitHub

A SBT plugin for webjars packaging with external resource Build Status

Installation

To use this plugin use the addSbtPlugin command within your project's plugins.sbt file:

addSbtPlugin("io.teamscala.sbt" % "sbt-webjars-packager" % "1.0.0")

For example with build.sbt:

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

// Downloadable external resources
WebjarsPackagerKeys.resources in Assets += "jquery" ~ "jquery.js" <~ "http://code.jquery.com/jquery.js"

Run the following at the sbt console:

show webjarsPackager