From 3219428902bea43b43d45223005f29b9d528fd1e Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Tue, 23 May 2017 22:46:55 -0400 Subject: [PATCH] Bump SBT and update build.sbt slightly. --- build.sbt | 6 +++--- project/build.properties | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 4d2d067..52cae49 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,7 @@ lazy val chainSettings = Seq( organization := "org.spire-math", licenses += ("MIT", url("http://opensource.org/licenses/MIT")), homepage := Some(url("http://github.com/non/chain")), - scalaVersion := "2.11.11", + scalaVersion := "2.12.2", crossScalaVersions := Seq("2.10.6", "2.11.11", "2.12.2"), scalacOptions ++= Seq( "-feature", @@ -17,9 +17,9 @@ lazy val chainSettings = Seq( publishMavenStyle := true, publishArtifact in Test := false, pomIncludeRepository := Function.const(false), - publishTo <<= (version).apply { v => + publishTo := { val nexus = "https://oss.sonatype.org/" - if (v.trim.endsWith("SNAPSHOT")) + if (isSnapshot.value) Some("Snapshots" at nexus + "content/repositories/snapshots") else Some("Releases" at nexus + "service/local/staging/deploy/maven2") diff --git a/project/build.properties b/project/build.properties index 27e88aa..64317fd 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=0.13.13 +sbt.version=0.13.15