aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2016-05-16 15:28:59 -0700
committerJakob Odersky <jakob@odersky.com>2016-06-09 03:30:35 -0700
commit92c4b3d41e06ad4b89004212c85248e9e6cd61d7 (patch)
tree69470f7c4ed48edaebea91964d7d552e7eaacf0d /project
parentf6f26c2c9e3ec9bdd45fb384483b3450bef5984a (diff)
downloadakka-serial-92c4b3d41e06ad4b89004212c85248e9e6cd61d7.tar.gz
akka-serial-92c4b3d41e06ad4b89004212c85248e9e6cd61d7.tar.bz2
akka-serial-92c4b3d41e06ad4b89004212c85248e9e6cd61d7.zip
Move project to `ch.jodersky` and upgrade sbt-jni
Diffstat (limited to 'project')
-rw-r--r--project/Dependencies.scala4
-rw-r--r--project/FlowBuild.scala9
-rw-r--r--project/Release.scala14
-rw-r--r--project/plugins.sbt2
4 files changed, 13 insertions, 16 deletions
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index a96a97d..ce1a6b1 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -4,8 +4,8 @@ import sbt._
object Dependencies {
- val akkaActor = "com.typesafe.akka" %% "akka-actor" % "2.4.4"
+ val akkaActor = "com.typesafe.akka" %% "akka-actor" % "2.4.7"
- val akkaStream ="com.typesafe.akka" %% "akka-stream" % "2.4.4"
+ val akkaStream ="com.typesafe.akka" %% "akka-stream" % "2.4.7"
}
diff --git a/project/FlowBuild.scala b/project/FlowBuild.scala
index 8600e49..3a31723 100644
--- a/project/FlowBuild.scala
+++ b/project/FlowBuild.scala
@@ -12,7 +12,7 @@ object FlowBuild extends Build {
scalaVersion in ThisBuild := scalaVersions.head,
crossScalaVersions in ThisBuild := scalaVersions.reverse,
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-target:jvm-1.8"),
- organization := "com.github.jodersky",
+ organization := "ch.jodersky",
licenses := Seq(("BSD New", url("http://opensource.org/licenses/BSD-3-Clause"))),
homepage := Some(url("https://jodersky.github.io/flow")),
pomIncludeRepository := { _ => false },
@@ -33,11 +33,14 @@ object FlowBuild extends Build {
lazy val root = (project in file(".")).
aggregate(core, native, stream)
- lazy val core = (project in file("flow-core"))
+ lazy val core = (project in file("flow-core")).
+ settings(name:= "flow-core")
- lazy val native = (project in file("flow-native"))
+ lazy val native = (project in file("flow-native")).
+ settings(name:= "flow-native")
lazy val stream = (project in file("flow-stream")).
+ settings(name:= "flow-stream").
dependsOn(core)
lazy val samplesTerminal = (project in file("flow-samples") / "terminal").
diff --git a/project/Release.scala b/project/Release.scala
index 3a1a670..d1a188d 100644
--- a/project/Release.scala
+++ b/project/Release.scala
@@ -6,7 +6,7 @@ import sbtrelease.ReleasePlugin.autoImport._
import sbtrelease.ReleaseStateTransformations._
import ch.jodersky.sbt.jni.plugins.JniNative.autoImport._
-import ch.jodersky.sbt.jni.plugins.JniPackaging.autoImport._
+import ch.jodersky.sbt.jni.plugins.JniPackage.autoImport._
import com.typesafe.sbt.pgp.PgpKeys._
@@ -90,19 +90,13 @@ object Release {
val (st1, libs) = extracted.runTask(unmanagedNativeLibraries in project in Compile, st0)
log.info("The following native libraries will be packaged:")
- log.info("Kernel\tArchitecture\tFile")
log.info("---------------------")
- libs.toSeq.sortBy(_._1.id).foreach{ case (platform, file) =>
- log.info(platform.kernel + "\t" + platform.arch + "\t" + file.getAbsolutePath)
- }
-
- val currentPlatform = extracted.get(nativePlatform in project in Compile)
- if (!libs.contains(currentPlatform)) {
- log.warn("Native library for the current platform does not exist! It will not be released.")
+ libs.toSeq.sortBy(_._2).foreach{ case (file, path) =>
+ log.info(path)
}
SimpleReader.readLine("Are the all native libraries listed (y/n)? [n] ") match {
case Some("y") => //do nothing
- case _ => sys.error("Mssing native libaries. Aborting release.")
+ case _ => sys.error("Missing native libaries. Aborting release.")
}
st1
})
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 031aa44..4eb4ab5 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -5,7 +5,7 @@
resolvers += Resolver.jcenterRepo
// Build, package and load native libraries
-addSbtPlugin("ch.jodersky" % "sbt-jni" % "0.4.4")
+addSbtPlugin("ch.jodersky" % "sbt-jni" % "1.1.0")
/*
* Utility plugins, can be disabled during plain build