-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support sbt 1.0 #107
support sbt 1.0 #107
Conversation
Laika is almost there, but happy to file a pull request after a release of sbt-site. sbt-site is sufficiently important to get going, even with a reduced feature set. |
Map("version" -> binV, "release" -> version) | ||
} | ||
|
||
def installPackagesTask = Def.task { | ||
val runner = sphinxRunner.value | ||
val packages = sphinxPackages.value | ||
val s = streams.value | ||
packages map { p => runner.installPackage(p, target.value, s.log) } | ||
val t = target.value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank a lot for getting this done.
|
||
addSbtPlugin("org.planet42" % "laika-sbt" % "0.7.0") | ||
libraryDependencies ++= { | ||
if((sbtVersion in pluginCrossBuild).value.startsWith("0.13")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Laika and Paradox are fairly new additions.
val excludeTests = tests.map(_._2).toSet | ||
(file("src/sbt-test") / g).listFiles.map(_.getName).filterNot(excludeTests).map(g + "/" + _) | ||
}.toList | ||
val args = (runAll ++ runPartial).mkString(" ", " ", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice, I didn't know this was possible.
{scala => scala-sbt-0.13}/com/typesafe/sbt/site/laika/LaikaSitePlugin.scala
,{scala => scala-sbt-0.13}/com/typesafe/sbt/site/paradox/ParadoxSitePlugin.scala
because laika and paradox does not support sbt 1.0 yet. ( [WIP] Cross build using sbt 0.13.16 #102 (comment) )I think we should release for sbt 1.0 without
LaikaSitePlugin
andParadoxSitePlugin
.fix #105