From bde222c4249346f64f9ea058d5dcc2d41c634fda Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 11 Feb 2016 12:55:54 -0800 Subject: [PATCH] set Scala version in a more dbuild-friendly way having scalaVersion and crossScalaVersions set in different places was confusing dbuild needed to fix scala/community-builds#215 --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 2962f2f6..3ff98463 100644 --- a/build.sbt +++ b/build.sbt @@ -1,3 +1,4 @@ +scalaVersion in ThisBuild := crossScalaVersions.value.head crossScalaVersions in ThisBuild := { val javaVersion = System.getProperty("java.version") @@ -19,8 +20,7 @@ lazy val `scala-parser-combinators` = crossProject.in(file(".")). ). settings( moduleName := "scala-parser-combinators", - version := "1.1.0-SNAPSHOT", - scalaVersion := crossScalaVersions.value.head + version := "1.1.0-SNAPSHOT" ). jvmSettings( // important!! must come here (why?)