#2097 - Adding ls-sbt for all akka projects.
This commit is contained in:
parent
5cbc6d8f76
commit
a44baf0f44
3 changed files with 20 additions and 15 deletions
13
ls.sbt
13
ls.sbt
|
|
@ -1,13 +0,0 @@
|
|||
// seq(lsSettings:_*)
|
||||
|
||||
// (description in LsKeys.lsync) := "Akka is the platform for the next generation of event-driven, scalable and fault-tolerant architectures on the JVM."
|
||||
|
||||
// (homepage in LsKeys.lsync) := Some(url("http://akka.io"))
|
||||
|
||||
// (LsKeys.tags in LsKeys.lsync) := Seq("actors", "stm", "concurrency", "distributed", "fault-tolerance", "scala", "java", "futures", "dataflow", "remoting")
|
||||
|
||||
// (LsKeys.docsUrl in LsKeys.lsync) := Some(url("http://akka.io/docs"))
|
||||
|
||||
// (licenses in LsKeys.lsync) := Seq(("Apache 2", url("http://www.apache.org/licenses/LICENSE-2.0.html")))
|
||||
|
||||
// (externalResolvers in LsKeys.lsync) := Seq("Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases")
|
||||
|
|
@ -13,6 +13,7 @@ import com.typesafe.sbtscalariform.ScalariformPlugin.ScalariformKeys
|
|||
import com.typesafe.sbtosgi.OsgiPlugin.{ OsgiKeys, osgiSettings }
|
||||
import com.typesafe.tools.mima.plugin.MimaPlugin.mimaDefaultSettings
|
||||
import com.typesafe.tools.mima.plugin.MimaKeys.previousArtifact
|
||||
import ls.Plugin.{ lsSettings, LsKeys }
|
||||
import java.lang.Boolean.getBoolean
|
||||
import sbt.Tests
|
||||
import Sphinx.{ sphinxDocs, sphinxHtml, sphinxLatex, sphinxPdf, sphinxPygments, sphinxTags, sphinxVars, sphinxExts }
|
||||
|
|
@ -449,7 +450,7 @@ object AkkaBuild extends Build {
|
|||
(if (useOnlyTestTags.isEmpty) Seq.empty else Seq("-n", if (multiNodeEnabled) useOnlyTestTags.mkString("\"", " ", "\"") else useOnlyTestTags.mkString(" ")))
|
||||
}
|
||||
|
||||
lazy val defaultSettings = baseSettings ++ formatSettings ++ mimaSettings ++ Seq(
|
||||
lazy val defaultSettings = baseSettings ++ formatSettings ++ mimaSettings ++ lsSettings ++ Seq(
|
||||
// compile options
|
||||
scalacOptions in Compile ++= Seq("-encoding", "UTF-8", "-target:jvm-1.6", "-deprecation", "-feature", "-unchecked", "-Xlog-reflective-calls", "-Ywarn-adapted-args"),
|
||||
javacOptions in Compile ++= Seq("-source", "1.6", "-target", "1.6", "-Xlint:unchecked", "-Xlint:deprecation"),
|
||||
|
|
@ -458,6 +459,17 @@ object AkkaBuild extends Build {
|
|||
|
||||
ivyLoggingLevel in ThisBuild := UpdateLogging.Quiet,
|
||||
|
||||
(description in LsKeys.lsync) := "Akka is the platform for the next generation of event-driven, scalable and fault-tolerant architectures on the JVM.",
|
||||
(homepage in LsKeys.lsync) := Some(url("http://akka.io")),
|
||||
(LsKeys.tags in LsKeys.lsync) := Seq("actors", "stm", "concurrency", "distributed", "fault-tolerance", "scala", "java", "futures", "dataflow", "remoting"),
|
||||
(LsKeys.docsUrl in LsKeys.lsync) := Some(url("http://akka.io/docs")),
|
||||
(licenses in LsKeys.lsync) := Seq(("Apache 2", url("http://www.apache.org/licenses/LICENSE-2.0.html"))),
|
||||
(externalResolvers in LsKeys.lsync) := Seq("Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases"),
|
||||
|
||||
/**
|
||||
* Test settings
|
||||
*/
|
||||
|
||||
parallelExecution in Test := System.getProperty("akka.parallelExecution", "false").toBoolean,
|
||||
logBuffered in Test := System.getProperty("akka.logBufferedTests", "false").toBoolean,
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
|
||||
resolvers += Classpaths.typesafeResolver
|
||||
|
||||
//ls-sbt resolvers
|
||||
resolvers ++= Seq(
|
||||
Classpaths.sbtPluginReleases,
|
||||
Opts.resolver.sonatypeReleases
|
||||
)
|
||||
|
||||
// these comment markers are for including code into the docs
|
||||
//#sbt-multi-jvm
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-multi-jvm" % "0.3.3")
|
||||
|
|
@ -12,4 +18,4 @@ addSbtPlugin("com.typesafe.sbtosgi" % "sbtosgi" % "0.3.0")
|
|||
|
||||
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.3")
|
||||
|
||||
// addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")
|
||||
addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue