-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in fabiopakk_dependencies_update (pull request #8)
Dependencies update in Viper Server Approved-by: Malte Schwerhoff <malte.schwerhoff@inf.ethz.ch> See comments for the further steps that are needed.
- Loading branch information
Showing
6 changed files
with
46 additions
and
197 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 |
---|---|---|
|
@@ -3,3 +3,8 @@ target | |
tmp | ||
.idea | ||
.DS_Store | ||
*.swp | ||
lib/ | ||
silver | ||
silicon | ||
carbon |
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,38 @@ | ||
// Import general settings from Silver, Silicon and Carbon | ||
lazy val silver = project in file("silver") | ||
lazy val silicon = project in file("silicon") | ||
lazy val carbon = project in file("carbon") | ||
|
||
lazy val common = (project in file("common")) | ||
|
||
// Viper Server specific project settings | ||
lazy val server = (project in file(".")) | ||
.dependsOn(silver % "compile->compile;test->test") | ||
.dependsOn(silicon % "compile->compile;test->test") | ||
.dependsOn(carbon % "compile->compile;test->test") | ||
.dependsOn(common) | ||
.aggregate(common) | ||
.enablePlugins(JavaAppPackaging) | ||
.settings( | ||
// General settings | ||
name := "ViperServer", | ||
organization := "viper", | ||
version := "1.1-SNAPSHOT", | ||
|
||
// Compilation settings | ||
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.5.17", | ||
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.5", | ||
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.17", | ||
libraryDependencies += "com.typesafe.akka" %% "akka-http-testkit" % "10.1.5" % Test, | ||
|
||
// Assembly settings | ||
assembly / assemblyJarName := "viper.jar", // JAR filename | ||
assembly / mainClass := Some("viper.server.ViperServerRunner"), // Define JAR's entry point | ||
assembly / test := {}, // Prevent testing before packaging | ||
assembly / assemblyMergeStrategy := { | ||
case "logback.xml" => MergeStrategy.first | ||
case x => | ||
val fallbackStrategy = (assembly / assemblyMergeStrategy).value | ||
fallbackStrategy(x) | ||
} | ||
) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.9 | ||
sbt.version=1.2.6 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
resolvers += Resolver.url("bintray-mschwerhoff-sbt-plugins", url("https://dl.bintray.com/mschwerhoff/sbt-plugins/"))(Resolver.ivyStylePatterns)addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.1.0")addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.0-M9")addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3")addSbtPlugin("de.oakgrove" % "sbt-hgid" % "0.3")addSbtPlugin("de.oakgrove" % "sbt-brand" % "0.3") | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.8") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.12") |
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