diff --git a/.java-version b/.java-version new file mode 100644 index 000000000..625934097 --- /dev/null +++ b/.java-version @@ -0,0 +1 @@ +1.8 diff --git a/.travis.yml b/.travis.yml index 68523f298..20fc55510 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ cache: language: scala jdk: - - oraclejdk7 + - oraclejdk8 matrix: fast_finish: true diff --git a/build.sbt b/build.sbt index 8c8fd074b..648d72b52 100644 --- a/build.sbt +++ b/build.sbt @@ -38,7 +38,7 @@ def commonSettings: Seq[Setting[_]] = Seq[SettingsDefinition]( componentID := None, resolvers += Resolver.typesafeIvyRepo("releases"), resolvers += Resolver.sonatypeRepo("snapshots"), - resolvers += Resolver.bintrayRepo("sbt", "maven-releases"), + resolvers += "bintray-sbt-maven-releases" at "https://dl.bintray.com/sbt/maven-releases/", concurrentRestrictions in Global += Util.testExclusiveRestriction, testOptions += Tests.Argument(TestFrameworks.ScalaCheck, "-w", "1"), javacOptions in compile ++= Seq("-target", "6", "-source", "6", "-Xlint", "-Xlint:-serial"), diff --git a/project/Release.scala b/project/Release.scala index fbe2f255d..d53cc1875 100644 --- a/project/Release.scala +++ b/project/Release.scala @@ -20,6 +20,6 @@ object Release { ) def javaVersionCheckSettings = Seq( - javaVersionPrefix in javaVersionCheck := Some("1.7") + javaVersionPrefix in javaVersionCheck := Some("1.8") ) } diff --git a/sbt/src/sbt-test/actions/doc-scala-instance/build.sbt b/sbt/src/sbt-test/actions/doc-scala-instance/build.sbt index 549ec33c7..fe9da4b6d 100644 --- a/sbt/src/sbt-test/actions/doc-scala-instance/build.sbt +++ b/sbt/src/sbt-test/actions/doc-scala-instance/build.sbt @@ -6,5 +6,5 @@ lazy val a = project.settings( ) lazy val b = project.settings( - scalaVersion := "2.10.1" + scalaVersion := "2.10.6" ) diff --git a/sbt/src/sbt-test/dependency-management/ext-pom-classifier/build.sbt b/sbt/src/sbt-test/dependency-management/ext-pom-classifier/build.sbt index 273ac58dd..494d0b654 100644 --- a/sbt/src/sbt-test/dependency-management/ext-pom-classifier/build.sbt +++ b/sbt/src/sbt-test/dependency-management/ext-pom-classifier/build.sbt @@ -1,3 +1,3 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.6" externalPom() diff --git a/sbt/src/sbt-test/tests/do-not-discover/build.sbt b/sbt/src/sbt-test/tests/do-not-discover/build.sbt index 914fa2813..c6097a06c 100644 --- a/sbt/src/sbt-test/tests/do-not-discover/build.sbt +++ b/sbt/src/sbt-test/tests/do-not-discover/build.sbt @@ -1,5 +1,5 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.6" libraryDependencies += "org.scalatest" %% "scalatest" % "2.0.M6-SNAP28" -testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") \ No newline at end of file +testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") diff --git a/sbt/src/sbt-test/tests/done/build.sbt b/sbt/src/sbt-test/tests/done/build.sbt index 914fa2813..c6097a06c 100644 --- a/sbt/src/sbt-test/tests/done/build.sbt +++ b/sbt/src/sbt-test/tests/done/build.sbt @@ -1,5 +1,5 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.6" libraryDependencies += "org.scalatest" %% "scalatest" % "2.0.M6-SNAP28" -testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") \ No newline at end of file +testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") diff --git a/sbt/src/sbt-test/tests/nested-inproc-par/build.sbt b/sbt/src/sbt-test/tests/nested-inproc-par/build.sbt index 171e6675c..a6b9aba9a 100644 --- a/sbt/src/sbt-test/tests/nested-inproc-par/build.sbt +++ b/sbt/src/sbt-test/tests/nested-inproc-par/build.sbt @@ -1,7 +1,7 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.6" libraryDependencies += "org.scalatest" %% "scalatest" % "2.0.M6-SNAP28" testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") -parallelExecution in Test := true \ No newline at end of file +parallelExecution in Test := true diff --git a/sbt/src/sbt-test/tests/nested-inproc-seq/build.sbt b/sbt/src/sbt-test/tests/nested-inproc-seq/build.sbt index 433459d68..85610ee5d 100644 --- a/sbt/src/sbt-test/tests/nested-inproc-seq/build.sbt +++ b/sbt/src/sbt-test/tests/nested-inproc-seq/build.sbt @@ -1,7 +1,7 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.6" libraryDependencies += "org.scalatest" %% "scalatest" % "2.0.M6-SNAP28" testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") -parallelExecution in Test := false \ No newline at end of file +parallelExecution in Test := false diff --git a/sbt/src/sbt-test/tests/serial/build.sbt b/sbt/src/sbt-test/tests/serial/build.sbt index 394f0b27c..eed39ce49 100644 --- a/sbt/src/sbt-test/tests/serial/build.sbt +++ b/sbt/src/sbt-test/tests/serial/build.sbt @@ -7,7 +7,7 @@ lazy val root = (project in file(".")). settings(inThisBuild(List( organization := "com.softwaremill", version := "0.0.1-SNAPSHOT", - scalaVersion := "2.10.0" + scalaVersion := "2.10.6" )), commonSettings ) diff --git a/sbt/src/sbt-test/tests/single-runner/build.sbt b/sbt/src/sbt-test/tests/single-runner/build.sbt index 914fa2813..c6097a06c 100644 --- a/sbt/src/sbt-test/tests/single-runner/build.sbt +++ b/sbt/src/sbt-test/tests/single-runner/build.sbt @@ -1,5 +1,5 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.6" libraryDependencies += "org.scalatest" %% "scalatest" % "2.0.M6-SNAP28" -testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") \ No newline at end of file +testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") diff --git a/sbt/src/sbt-test/tests/task/build.sbt b/sbt/src/sbt-test/tests/task/build.sbt index 914fa2813..c6097a06c 100644 --- a/sbt/src/sbt-test/tests/task/build.sbt +++ b/sbt/src/sbt-test/tests/task/build.sbt @@ -1,5 +1,5 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.6" libraryDependencies += "org.scalatest" %% "scalatest" % "2.0.M6-SNAP28" -testOptions in Test += Tests.Argument("-r", "custom.CustomReporter") \ No newline at end of file +testOptions in Test += Tests.Argument("-r", "custom.CustomReporter")