Name: sbt-web-build-base
Owner: sbt
Description: null
Created: 2015-05-10 08:42:39.0
Updated: 2017-08-07 16:00:05.0
Pushed: 2017-08-30 03:50:05.0
Homepage: null
Size: 18
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is an sbt plugin that sbt-web plugins can use to get their configuration.
Ensure that project/build.properties
is configured for sbt minimum version of 1.0.1:
version=1.0.1
Add the following to project/plugins.sbt
:
btPlugin("com.typesafe.sbt" % "sbt-web-build-base" % "1.2.0")
Now create a version.sbt
with the version declared in it, for example:
ion := "1.0.0-SNAPSHOT"
And finally, create a build.sbt
that declares the name
, description
and libraryDependencies
. For example:
val `sbt-project-name` = project in file(".")
ription := "My project description"
aryDependencies ++= Seq(
rg.webjars" % "my-web-jar" % "1.2.3
Generally, no other settings should be needed, all required settings, such as cross building, organization
, scripted configuration, release and publishing configuration are provided by sbt-web-build-base
.
A few utility methods are provided:
addSbtWeb
and addSbtJsEngine
- these add dependencies on sbt-web and sbt-js-engine respectively.