0001 /*
0002 * Licensed to the Apache Software Foundation (ASF) under one or more
0003 * contributor license agreements. See the NOTICE file distributed with
0004 * this work for additional information regarding copyright ownership.
0005 * The ASF licenses this file to You under the Apache License, Version 2.0
0006 * (the "License"); you may not use this file except in compliance with
0007 * the License. You may obtain a copy of the License at
0008 *
0009 * http://www.apache.org/licenses/LICENSE-2.0
0010 *
0011 * Unless required by applicable law or agreed to in writing, software
0012 * distributed under the License is distributed on an "AS IS" BASIS,
0013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0014 * See the License for the specific language governing permissions and
0015 * limitations under the License.
0016 */
0017
0018 addSbtPlugin("com.etsy" % "sbt-checkstyle-plugin" % "3.1.1")
0019
0020 // sbt-checkstyle-plugin uses an old version of checkstyle. Match it to Maven's.
0021 libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "8.25"
0022
0023 // checkstyle uses guava 23.0.
0024 libraryDependencies += "com.google.guava" % "guava" % "23.0"
0025
0026 // need to make changes to uptake sbt 1.0 support in "com.eed3si9n" % "sbt-assembly" % "1.14.5"
0027 addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")
0028
0029 addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
0030
0031 addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")
0032
0033 addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
0034
0035 // SPARK-29560 Only sbt-mima-plugin needs this repo
0036 resolvers += Resolver.url("bintray",
0037 new java.net.URL("https://dl.bintray.com/typesafe/sbt-plugins"))(Resolver.defaultIvyPatterns)
0038 addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.3.0")
0039
0040 // sbt 1.0.0 support: https://github.com/AlpineNow/junit_xml_listener/issues/6
0041 addSbtPlugin("com.alpinenow" % "junit_xml_listener" % "0.5.1")
0042
0043 // need to make changes to uptake sbt 1.0 support in "com.eed3si9n" % "sbt-unidoc" % "0.4.1"
0044 addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.3.3")
0045
0046 // need to make changes to uptake sbt 1.0 support in "com.cavorite" % "sbt-avro-1-7" % "1.1.2"
0047 addSbtPlugin("com.cavorite" % "sbt-avro" % "0.3.2")
0048
0049 addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1")
0050
0051 libraryDependencies += "org.ow2.asm" % "asm" % "7.2"
0052
0053 libraryDependencies += "org.ow2.asm" % "asm-commons" % "7.2"
0054
0055 // sbt 1.0.0 support: https://github.com/ihji/sbt-antlr4/issues/14
0056 addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.13")
0057
0058 // Spark uses a custom fork of the sbt-pom-reader plugin which contains a patch to fix issues
0059 // related to test-jar dependencies (https://github.com/sbt/sbt-pom-reader/pull/14). The source for
0060 // this fork is published at https://github.com/JoshRosen/sbt-pom-reader/tree/v1.0.0-spark
0061 // and corresponds to commit b160317fcb0b9d1009635a7c5aa05d0f3be61936 in that repository.
0062 // In the long run, we should try to merge our patch upstream and switch to an upstream version of
0063 // the plugin; this is tracked at SPARK-14401.
0064
0065 addSbtPlugin("org.spark-project" % "sbt-pom-reader" % "1.0.0-spark")