Merge pull request #19831 from 2m/wip-license-samples-2m
Add license information for samples
This commit is contained in:
commit
b37c2c0b29
18 changed files with 43 additions and 16 deletions
|
|
@ -11,3 +11,5 @@ libraryDependencies ++= Seq(
|
|||
"org.slf4j" % "slf4j-api" % "1.7.2",
|
||||
"ch.qos.logback" % "logback-classic" % "1.0.7"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -12,3 +12,5 @@ libraryDependencies ++= Seq(
|
|||
"org.slf4j" % "slf4j-api" % "1.7.2",
|
||||
"ch.qos.logback" % "logback-classic" % "1.0.7"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -24,13 +24,13 @@ val project = Project(
|
|||
"io.kamon" % "sigar-loader" % "1.6.6-rev002"),
|
||||
javaOptions in run ++= Seq(
|
||||
"-Xms128m", "-Xmx1024m", "-Djava.library.path=./target/native"),
|
||||
Keys.fork in run := true,
|
||||
Keys.fork in run := true,
|
||||
mainClass in (Compile, run) := Some("sample.cluster.simple.SimpleClusterApp"),
|
||||
// make sure that MultiJvm test are compiled by the default test compilation
|
||||
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
|
||||
// disable parallel tests
|
||||
parallelExecution in Test := false,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// and combine the results from ordinary test and multi-jvm tests
|
||||
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
|
||||
case (testResults, multiNodeResults) =>
|
||||
|
|
@ -42,6 +42,7 @@ val project = Project(
|
|||
Tests.Output(overall,
|
||||
testResults.events ++ multiNodeResults.events,
|
||||
testResults.summaries ++ multiNodeResults.summaries)
|
||||
}
|
||||
},
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
)
|
||||
) configs (MultiJvm)
|
||||
|
|
|
|||
|
|
@ -23,13 +23,13 @@ val project = Project(
|
|||
"io.kamon" % "sigar-loader" % "1.6.6-rev002"),
|
||||
javaOptions in run ++= Seq(
|
||||
"-Xms128m", "-Xmx1024m", "-Djava.library.path=./target/native"),
|
||||
Keys.fork in run := true,
|
||||
Keys.fork in run := true,
|
||||
mainClass in (Compile, run) := Some("sample.cluster.simple.SimpleClusterApp"),
|
||||
// make sure that MultiJvm test are compiled by the default test compilation
|
||||
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
|
||||
// disable parallel tests
|
||||
parallelExecution in Test := false,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// and combine the results from ordinary test and multi-jvm tests
|
||||
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
|
||||
case (testResults, multiNodeResults) =>
|
||||
|
|
@ -41,6 +41,7 @@ val project = Project(
|
|||
Tests.Output(overall,
|
||||
testResults.events ++ multiNodeResults.events,
|
||||
testResults.summaries ++ multiNodeResults.summaries)
|
||||
}
|
||||
},
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
)
|
||||
) configs (MultiJvm)
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@ val project = Project(
|
|||
"org.scalatest" %% "scalatest" % "2.2.1" % "test"),
|
||||
javaOptions in run ++= Seq(
|
||||
"-Xms128m", "-Xmx1024m"),
|
||||
Keys.fork in run := true,
|
||||
Keys.fork in run := true,
|
||||
// make sure that MultiJvm test are compiled by the default test compilation
|
||||
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
|
||||
// disable parallel tests
|
||||
parallelExecution in Test := false,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// and combine the results from ordinary test and multi-jvm tests
|
||||
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
|
||||
case (testResults, multiNodeResults) =>
|
||||
|
|
@ -39,9 +39,10 @@ val project = Project(
|
|||
Tests.Output(overall,
|
||||
testResults.events ++ multiNodeResults.events,
|
||||
testResults.summaries ++ multiNodeResults.summaries)
|
||||
}
|
||||
},
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
)
|
||||
) configs (MultiJvm)
|
||||
|
||||
|
||||
fork in run := true
|
||||
fork in run := true
|
||||
|
|
|
|||
|
|
@ -21,12 +21,12 @@ val project = Project(
|
|||
"org.scalatest" %% "scalatest" % "2.2.1" % "test"),
|
||||
javaOptions in run ++= Seq(
|
||||
"-Xms128m", "-Xmx1024m"),
|
||||
Keys.fork in run := true,
|
||||
Keys.fork in run := true,
|
||||
// make sure that MultiJvm test are compiled by the default test compilation
|
||||
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
|
||||
// disable parallel tests
|
||||
parallelExecution in Test := false,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// and combine the results from ordinary test and multi-jvm tests
|
||||
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
|
||||
case (testResults, multiNodeResults) =>
|
||||
|
|
@ -38,9 +38,10 @@ val project = Project(
|
|||
Tests.Output(overall,
|
||||
testResults.events ++ multiNodeResults.events,
|
||||
testResults.summaries ++ multiNodeResults.summaries)
|
||||
}
|
||||
},
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
)
|
||||
) configs (MultiJvm)
|
||||
|
||||
|
||||
fork in run := true
|
||||
fork in run := true
|
||||
|
|
|
|||
|
|
@ -15,3 +15,5 @@ libraryDependencies ++= Seq(
|
|||
"com.typesafe.akka" %% "akka-testkit" % "2.4-SNAPSHOT" % "test",
|
||||
"junit" % "junit" % "4.11" % "test",
|
||||
"com.novocode" % "junit-interface" % "0.10" % "test")
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -8,3 +8,4 @@ libraryDependencies ++= Seq(
|
|||
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -7,3 +7,5 @@ scalaVersion := "2.11.7"
|
|||
libraryDependencies ++= Seq(
|
||||
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -8,3 +8,4 @@ libraryDependencies ++= Seq(
|
|||
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -26,3 +26,4 @@ mappings in Universal ++= {
|
|||
// when starting the application
|
||||
scriptClasspath := Seq("../config/") ++ scriptClasspath.value
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ val project = Project(
|
|||
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
|
||||
// disable parallel tests
|
||||
parallelExecution in Test := false,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// make sure that MultiJvm tests are executed by the default test target,
|
||||
// and combine the results from ordinary test and multi-jvm tests
|
||||
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
|
||||
case (testResults, multiNodeResults) =>
|
||||
|
|
@ -31,6 +31,7 @@ val project = Project(
|
|||
Tests.Output(overall,
|
||||
testResults.events ++ multiNodeResults.events,
|
||||
testResults.summaries ++ multiNodeResults.summaries)
|
||||
}
|
||||
},
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
)
|
||||
) configs (MultiJvm)
|
||||
|
|
|
|||
|
|
@ -13,3 +13,5 @@ libraryDependencies ++= Seq(
|
|||
"org.iq80.leveldb" % "leveldb" % "0.7",
|
||||
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ libraryDependencies ++= Seq(
|
|||
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -10,3 +10,5 @@ libraryDependencies ++= Seq(
|
|||
"org.iq80.leveldb" % "leveldb" % "0.7",
|
||||
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -8,3 +8,5 @@ libraryDependencies ++= Seq(
|
|||
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT",
|
||||
"com.typesafe.akka" %% "akka-remote" % "2.4-SNAPSHOT"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -8,3 +8,5 @@ libraryDependencies ++= Seq(
|
|||
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT",
|
||||
"com.typesafe.akka" %% "akka-remote" % "2.4-SNAPSHOT"
|
||||
)
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
|
|
@ -15,3 +15,5 @@ libraryDependencies ++= Seq(
|
|||
"com.typesafe.akka" %% "akka-testkit" % "2.4-SNAPSHOT" % "test",
|
||||
"junit" % "junit" % "4.12" % "test",
|
||||
"com.novocode" % "junit-interface" % "0.11" % "test")
|
||||
|
||||
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue