| import scala.util.Properties |
| |
| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| object Versions { |
| |
| |
| lazy val scala211 = "2.11.7" |
| lazy val scala212 = "2.12.10" |
| |
| /* For `scalaBinaryVersion.value outside an sbt task. */ |
| lazy val scalaBinary = scala212.dropRight(2) |
| |
| val Akka = "2.3.4" |
| val Cassandra = "3.11.3" |
| val CassandraDriver = "3.7.2" |
| val CommonsIO = "2.4" |
| val CommonsLang3 = "3.3.2" |
| val CommonsBeanUtils= "1.9.3" |
| val Config = "1.2.1" |
| val Guava = "16.0.1" |
| val JDK = "1.7" |
| val JodaC = "1.2" |
| val JodaT = "2.3" |
| val JOpt = "3.2" |
| val Lzf = "1.0.3" |
| val Netty = "4.0.33.Final" |
| val CodaHaleMetrics = "3.0.2" |
| val ScalaCheck = "1.14.0" |
| val ScalaMock = "4.1.0" |
| val ScalaTest = "3.0.3" |
| val Scalactic = "3.0.3" |
| val Slf4j = "1.6.1"//1.7.7" |
| |
| // Spark version can be specified as: |
| // - regular version which is present in some public Maven repository |
| // - a release tag in https://github.com/apache/spark |
| // - one of main branches, like master or branch-x.y, followed by "-SNAPSHOT" suffix |
| // The last two cases trigger the build to clone the given revision of Spark from GitHub, build it |
| // and install in a local Maven repository. This is all done automatically, however it will work |
| // only on Unix/OSX operating system. Windows users have to build and install Spark manually if the |
| // desired version is not yet published into a public Maven repository. |
| val Spark = "2.4.0" |
| val SparkJetty = "8.1.14.v20131031" |
| val JSR166e = "1.1.0" |
| val Airlift = "0.6" |
| |
| val doNotInstallSpark = true |
| |
| val status = (versionInReapply: String, binaryInReapply: String) => |
| println(s""" |
| | Scala: $versionInReapply |
| | Scala Binary: $binaryInReapply |
| | Java: target=$JDK user=${Properties.javaVersion} |
| | Cassandra version for testing: ${Testing.cassandraTestVersion} [can be overridden by specifying '-Dtest.cassandra.version=<version>'] |
| """.stripMargin) |
| } |