mirror of https://github.com/sbt/sbt.git
Dummy indirection for web project in 2.10
This commit is contained in:
parent
10eca2d5c1
commit
1d221c2d35
|
|
@ -137,9 +137,22 @@ object CoursierBuild extends Build {
|
|||
.dependsOn(coreJs)
|
||||
.settings(commonSettings: _*)
|
||||
.settings(
|
||||
libraryDependencies ++= Seq(
|
||||
"com.github.japgolly.scalajs-react" %%% "core" % "0.9.0"
|
||||
),
|
||||
libraryDependencies ++= {
|
||||
if (scalaVersion.value startsWith "2.10.")
|
||||
Seq()
|
||||
else
|
||||
Seq(
|
||||
"com.github.japgolly.scalajs-react" %%% "core" % "0.9.0"
|
||||
)
|
||||
},
|
||||
sourceDirectory := {
|
||||
val dir = sourceDirectory.value
|
||||
|
||||
if (scalaVersion.value startsWith "2.10.")
|
||||
dir / "dummy"
|
||||
else
|
||||
dir
|
||||
},
|
||||
resolvers += "Webjars Bintray" at "https://dl.bintray.com/webjars/maven/",
|
||||
jsDependencies ++= Seq(
|
||||
("org.webjars.bower" % "bootstrap" % "3.3.4" intransitive()) / "bootstrap.min.js" commonJSName "Bootstrap",
|
||||
|
|
|
|||
Loading…
Reference in New Issue