-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=pro akka#15031 separate sbt build file for every module
- Loading branch information
Showing
18 changed files
with
341 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, Unidoc } | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
publishArtifact in Compile := false | ||
|
||
libraryDependencies ++= Dependencies.actorTests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import akka.{ AkkaBuild, Formatting, OSGi, Unidoc, Dependencies } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.actor | ||
|
||
libraryDependencies ++= Dependencies.actor | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-actor") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, OSGi, Unidoc } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettingsNoVerificationOfDiagrams | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.agent | ||
|
||
libraryDependencies ++= Dependencies.agent | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-agent") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, OSGi, Unidoc } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.camel | ||
|
||
libraryDependencies ++= Dependencies.camel | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-kernel") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, OSGi, MultiNode, Unidoc } | ||
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys._ | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
MultiNode.multiJvmSettings | ||
|
||
OSGi.cluster | ||
|
||
libraryDependencies ++= Dependencies.cluster | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-cluster") | ||
|
||
// disable parallel tests | ||
parallelExecution in Test := false | ||
|
||
extraOptions in MultiJvm <<= (sourceDirectory in MultiJvm) { src => | ||
(name: String) => (src ** (name + ".conf")).get.headOption.map("-Dakka.config=" + _.absolutePath).toSeq | ||
} | ||
|
||
scalatestOptions in MultiJvm := MultiNode.defaultMultiJvmScalatestOptions.value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, MultiNode, Unidoc } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettingsNoVerificationOfDiagrams | ||
|
||
Unidoc.javadocSettings | ||
|
||
MultiNode.multiJvmSettings | ||
|
||
libraryDependencies ++= Dependencies.contrib | ||
|
||
MimaKeys.reportBinaryIssues := () // disable bin comp check | ||
|
||
description := """| | ||
|This subproject provides a home to modules contributed by external | ||
|developers which may or may not move into the officially supported code | ||
|base over time. A module in this subproject doesn't have to obey the rule | ||
|of staying binary compatible between minor releases. Breaking API changes | ||
|may be introduced in minor releases without notice as we refine and | ||
|simplify based on your feedback. A module may be dropped in any release | ||
|without prior deprecation. The Typesafe subscription does not cover | ||
|support for these modules. | ||
|""".stripMargin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, SphinxDoc } | ||
import com.typesafe.sbt.SbtScalariform.ScalariformKeys | ||
import com.typesafe.sbt.SbtSite.site | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.docFormatSettings | ||
|
||
site.settings | ||
|
||
site.sphinxSupport() | ||
|
||
site.publishSite | ||
|
||
SphinxDoc.docsSettings | ||
|
||
SphinxDoc.sphinxPreprocessing | ||
|
||
libraryDependencies ++= Dependencies.docs | ||
|
||
publishArtifact in Compile := false | ||
|
||
unmanagedSourceDirectories in ScalariformKeys.format in Test <<= unmanagedSourceDirectories in Test | ||
|
||
MimaKeys.reportBinaryIssues := () // disable bin comp check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, Unidoc } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettingsNoVerificationOfDiagrams | ||
|
||
Unidoc.javadocSettings | ||
|
||
libraryDependencies ++= Dependencies.kernel | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-kernel") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import akka.{AkkaBuild, Formatting, Unidoc, OSGi} | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-multi-node-testkit") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, OSGi, Unidoc } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.osgi | ||
|
||
libraryDependencies ++= Dependencies.osgi | ||
|
||
parallelExecution in Test := false | ||
|
||
MimaKeys.reportBinaryIssues := () // disable bin comp check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, OSGi, Unidoc } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
import akka.MultiNode | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
AkkaBuild.experimentalSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.persistence | ||
|
||
libraryDependencies ++= Dependencies.persistence | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-persistence-experimental") | ||
|
||
fork in Test := true | ||
|
||
javaOptions in Test := MultiNode.defaultMultiJvmOptions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, MultiNode, Unidoc } | ||
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys._ | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
MultiNode.multiJvmSettings | ||
|
||
libraryDependencies ++= Dependencies.remoteTests | ||
|
||
// disable parallel tests | ||
parallelExecution in Test := false | ||
|
||
extraOptions in MultiJvm <<= (sourceDirectory in MultiJvm) { src => | ||
(name: String) => (src ** (name + ".conf")).get.headOption.map("-Dakka.config=" + _.absolutePath).toSeq | ||
} | ||
|
||
scalatestOptions in MultiJvm := MultiNode.defaultMultiJvmScalatestOptions.value | ||
|
||
publishArtifact in Compile := false | ||
|
||
MimaKeys.reportBinaryIssues := () // disable bin comp check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import akka.{AkkaBuild, Dependencies, Formatting, Unidoc, OSGi} | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.remote | ||
|
||
libraryDependencies ++= Dependencies.remote | ||
|
||
parallelExecution in Test := false | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-remote") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, OSGi, Unidoc } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.slf4j | ||
|
||
libraryDependencies ++= Dependencies.slf4j | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-slf4j") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import akka.{ AkkaBuild, Formatting, OSGi, Unidoc, Dependencies } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.testkit | ||
|
||
// to fix scaladoc generation | ||
libraryDependencies ++= Dependencies.testkit | ||
|
||
initialCommands += "import akka.testkit._" | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-testkit") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import akka.{ AkkaBuild, Dependencies, Formatting, OSGi, Unidoc } | ||
import com.typesafe.tools.mima.plugin.MimaKeys | ||
|
||
AkkaBuild.defaultSettings | ||
|
||
Formatting.formatSettings | ||
|
||
Unidoc.scaladocSettings | ||
|
||
Unidoc.javadocSettings | ||
|
||
OSGi.zeroMQ | ||
|
||
libraryDependencies ++= Dependencies.zeroMQ | ||
|
||
MimaKeys.previousArtifact := akkaPreviousArtifact("akka-zeromq") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.