ブランド向けにカスタマイズされたバージョンの Bootstrap を LESS ソースから含む WebJar を構築したいと考えています。私はsbt.version=0.13.5-M4
とproject/build.properties
をaddSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0-M2a")
持っていproject/plugins.sbt
ます。私build.sbt
はこのように見えます:
import com.typesafe.web.sbt.WebPlugin
import com.typesafe.jse.sbt.JsEnginePlugin
import com.typesafe.web.sbt.WebPlugin.WebKeys
name := "brand-assets"
organization := "com.example"
version := "0.0.1-SNAPSHOT"
WebPlugin.webSettings
JsEnginePlugin.jsEngineSettings
lazy val root = (project in file(".")).addPlugins(SbtWeb)
excludeFilter in Assets := new PatternFilter("""[^_].*\.less""".r.pattern)
私が得るエラーは次のとおりです。
build.sbt:1: error: object web is not a member of package com.typesafe
import com.typesafe.web.sbt.WebPlugin
^
build.sbt:2: error: object sbt is not a member of package com.typesafe.jse
import com.typesafe.jse.sbt.JsEnginePlugin
^
build.sbt:15: error: value addPlugins is not a member of sbt.Project
lazy val root = (project in file(".")).addPlugins(SbtWeb)
^
sbt.compiler.EvalException: Type error in expression
私は何が欠けていますか?