Skip to content
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

Update sbt to 1.10.1 #525

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lazy val `woken` =
.settings(Defaults.itSettings)
.settings(
Seq(
mainClass in Runtime := Some("ch.chuv.lren.woken.main.Main"),
(Runtime / mainClass) := Some("ch.chuv.lren.woken.main.Main"),
libraryDependencies ++= Seq(
library.akkaActor,
//library.akkaActorTyped,
Expand Down Expand Up @@ -81,11 +81,11 @@ lazy val `woken` =
library.dockerTestKitSpotify % IntegrationTest,
library.diff % Test
),
includeFilter in (Compile, unmanagedResources) := "*.json" || "*.conf" || "*.xml" || "*.html",
includeFilter in (Test, unmanagedResources) := "*.json" || "*.conf",
(Compile / unmanagedResources / includeFilter) := "*.json" || "*.conf" || "*.xml" || "*.html",
(Test / unmanagedResources / includeFilter) := "*.json" || "*.conf",
// Use the customMergeStrategy in your settings
assemblyMergeStrategy in assembly := customMergeStrategy,
assemblyJarName in assembly := "woken-all.jar"
(assembly / assemblyMergeStrategy) := customMergeStrategy,
(assembly / assemblyJarName) := "woken-all.jar"
)
)

Expand Down Expand Up @@ -223,17 +223,17 @@ lazy val settings = commonSettings ++ gitSettings ++ scalafmtSettings
lazy val commonSettings =
Seq(
scalaVersion := "2.11.12",
organization in ThisBuild := "ch.chuv.lren.woken",
organizationName in ThisBuild := "LREN CHUV for Human Brain Project",
homepage in ThisBuild := Some(url(s"https://github.com/HBPMedical/${name.value}/#readme")),
licenses in ThisBuild := Seq("AGPL-3.0" ->
(ThisBuild / organization) := "ch.chuv.lren.woken",
(ThisBuild / organizationName) := "LREN CHUV for Human Brain Project",
(ThisBuild / homepage) := Some(url(s"https://github.com/HBPMedical/${name.value}/#readme")),
(ThisBuild / licenses) := Seq("AGPL-3.0" ->
url(s"https://github.com/LREN-CHUV/${name.value}/blob/${version.value}/LICENSE")),
startYear in ThisBuild := Some(2017),
description in ThisBuild := "Woken - a FaaS for machine learning",
developers in ThisBuild := List(
(ThisBuild / startYear) := Some(2017),
(ThisBuild / description) := "Woken - a FaaS for machine learning",
(ThisBuild / developers) := List(
Developer("ludovicc", "Ludovic Claude", "@ludovicc", url("https://github.com/ludovicc"))
),
scmInfo in ThisBuild := Some(ScmInfo(url(s"https://github.com/HBPMedical/${name.value}"), s"[email protected]:HBPMedical/${name.value}.git")),
(ThisBuild / scmInfo) := Some(ScmInfo(url(s"https://github.com/HBPMedical/${name.value}"), s"[email protected]:HBPMedical/${name.value}.git")),
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
Expand All @@ -248,13 +248,13 @@ lazy val commonSettings =
"UTF-8"
),
javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint"),
unmanagedSourceDirectories.in(Compile) := Seq(scalaSource.in(Compile).value),
unmanagedSourceDirectories.in(Test) := Seq(scalaSource.in(Test).value),
wartremoverWarnings in (Compile, compile) ++= Warts.unsafe,
fork in run := true,
test in assembly := {},
fork in Test := false,
parallelExecution in Test := false
(Compile / unmanagedSourceDirectories) := Seq((Compile / scalaSource).value),
(Test / unmanagedSourceDirectories) := Seq((Test / scalaSource).value),
(Compile / compile / wartremoverWarnings) ++= Warts.unsafe,
(run / fork) := true,
(assembly / test) := {},
(Test / fork) := false,
(Test / parallelExecution) := false
)

lazy val gitSettings =
Expand All @@ -269,7 +269,7 @@ lazy val gitSettings =
lazy val scalafmtSettings =
Seq(
scalafmtOnCompile := true,
scalafmtOnCompile.in(Sbt) := false,
(Sbt / scalafmtOnCompile) := false,
scalafmtVersion := "1.5.1"
)

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.2.8
sbt.version=1.10.1
2 changes: 1 addition & 1 deletion tests/woken-test/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.2.8
sbt.version=1.10.1