Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Harish Butani committed Jul 28, 2016
1 parent d592ee6 commit 89041e6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
22 changes: 17 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ val coreDependencies = Seq(
"org.apache.spark" %% "spark-hive" % sparkVersion % "provided",
"org.apache.spark" %% "spark-hive-thriftserver" % sparkVersion % "provided",
"org.apache.httpcomponents" % "httpclient" % httpclientVersion,
//"org.json4s" %% "json4s-native" % json4sVersion,
// "org.json4s" %% "json4s-native" % json4sVersion,
"org.json4s" %% "json4s-ext" % json4sVersion,
"com.sparklinedata" %% "spark-datetime" % sparkdateTimeVersion,
"com.github.scopt" %% "scopt" % scoptVersion,
Expand All @@ -35,7 +35,7 @@ val coreTestDependencies = Seq(
lazy val commonSettings = Seq(
organization := "com.sparklinedata",

version := "0.1.0",
version := "0.2.0",

javaOptions := Seq("-Xms1g", "-Xmx2g", "-Duser.timezone=UTC", "-XX:MaxPermSize=256M"),

Expand All @@ -45,13 +45,23 @@ lazy val commonSettings = Seq(

scalacOptions := Seq("-feature", "-deprecation"),

licenses := Seq("Apache License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
licenses := Seq("Apache License, Version 2.0" ->
url("http://www.apache.org/licenses/LICENSE-2.0")
),

homepage := Some(url("https://github.com/SparklineData/spark-datetime")),

publishMavenStyle := true,

publishTo := Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2/"),
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT")) {
Some("snapshots" at nexus + "content/repositories/snapshots")
}
else {
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
},

publishArtifact in Test := false,

Expand Down Expand Up @@ -86,7 +96,9 @@ lazy val root = project.in(file("."))
.settings(commonSettings: _*)
.settings(name := "accelerator")
.settings(libraryDependencies ++= (coreDependencies ++ coreTestDependencies))
.settings(assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false))
.settings(assemblyOption in assembly :=
(assemblyOption in assembly).value.copy(includeScala = false)
)
.settings(
artifact in (Compile, assembly) ~= { art =>
art.copy(`classifier` = Some("assembly"))
Expand Down
3 changes: 3 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
resolvers ++= Seq(
"Central" at "https://oss.sonatype.org/content/repositories/releases/"
)
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2")

Expand All @@ -15,3 +16,5 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.0.5")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.6.0")

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2")

addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.0.5")

0 comments on commit 89041e6

Please sign in to comment.