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)
|
.dependsOn(coreJs)
|
||||||
.settings(commonSettings: _*)
|
.settings(commonSettings: _*)
|
||||||
.settings(
|
.settings(
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= {
|
||||||
|
if (scalaVersion.value startsWith "2.10.")
|
||||||
|
Seq()
|
||||||
|
else
|
||||||
|
Seq(
|
||||||
"com.github.japgolly.scalajs-react" %%% "core" % "0.9.0"
|
"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/",
|
resolvers += "Webjars Bintray" at "https://dl.bintray.com/webjars/maven/",
|
||||||
jsDependencies ++= Seq(
|
jsDependencies ++= Seq(
|
||||||
("org.webjars.bower" % "bootstrap" % "3.3.4" intransitive()) / "bootstrap.min.js" commonJSName "Bootstrap",
|
("org.webjars.bower" % "bootstrap" % "3.3.4" intransitive()) / "bootstrap.min.js" commonJSName "Bootstrap",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue