-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy pathDependencies.scala
More file actions
93 lines (72 loc) · 4.22 KB
/
Dependencies.scala
File metadata and controls
93 lines (72 loc) · 4.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*
* 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
*/
import sbt._
import sbt.Keys._
import scala.util.Properties
object Dependencies {
// Libraries
val pekkoVersion = "1.1.5" // Apache v2
val pekkoActor = "org.apache.pekko" %% "pekko-actor" % pekkoVersion // Apache v2
val pekkoSlf4j = "org.apache.pekko" %% "pekko-slf4j" % pekkoVersion // Apache v2
val pekkoTestkit = "org.apache.pekko" %% "pekko-testkit" % pekkoVersion // Apache v2
val asmVersion = "9.9"
val asm = "org.ow2.asm" % "asm" % asmVersion // Apache v2
val asmCommons = "org.ow2.asm" % "asm-commons" % asmVersion // Apache v2
val asmUtil = "org.ow2.asm" % "asm-util" % asmVersion // Apache v2
val clapper = "org.clapper" %% "classutil" % "1.5.1" // Apache v2, used for detecting plugins
val commonsExec = "org.apache.commons" % "commons-exec" % "1.3" // Apache v2
val config = "com.typesafe" % "config" % "1.4.3" // Apache v2
val coursierVersion = "2.0.16"
val coursier = "io.get-coursier" %% "coursier" % coursierVersion // Apache v2
val coursierCache = "io.get-coursier" %% "coursier-cache" % coursierVersion // Apache v2
val ivy = "org.apache.ivy" % "ivy" % "2.5.1" // Apache v2
// use the same jackson version in test than the one provided at runtime by Spark 3.5.x
val jacksonDatabind = "com.fasterxml.jackson.core" % "jackson-databind" % "2.15.2" // Apache v2
val jeroMq = "org.zeromq" % "jeromq" % "0.5.3" // MPL v2
val joptSimple = "net.sf.jopt-simple" % "jopt-simple" % "4.9" // MIT
val jvmRepr = "com.github.jupyter" % "jvm-repr" % "0.1.0" // BSD 3-clause
val playJson = "com.typesafe.play" %% "play-json" % "2.9.4" // Apache v2
val scalaCompiler = Def.setting{ "org.scala-lang" % "scala-compiler" % scalaVersion.value } // BSD 3-clause
val scalaLibrary = Def.setting{ "org.scala-lang" % "scala-library" % scalaVersion.value } // BSD 3-clause
val scalaReflect = Def.setting{ "org.scala-lang" % "scala-reflect" % scalaVersion.value } // BSD 3-clause
val scalaTest = "org.scalatest" %% "scalatest" % "3.2.16" // Apache v2
val scalaTestMockito = "org.scalatestplus" %% "mockito-4-11" % "3.2.16.0" // Apache v2
val mockitoInline = "org.mockito" % "mockito-inline" % "4.11.0" // MIT
val slf4jApi = "org.slf4j" % "slf4j-api" % "2.0.7" // MIT
val sparkVersion = settingKey[String]("Version of Apache Spark to use in Toree") // defined in root build
val sparkCore = Def.setting{ "org.apache.spark" %% "spark-core" % sparkVersion.value } // Apache v2
val sparkGraphX = Def.setting{ "org.apache.spark" %% "spark-graphx" % sparkVersion.value } // Apache v2
val sparkMllib = Def.setting{ "org.apache.spark" %% "spark-mllib" % sparkVersion.value } // Apache v2
val sparkRepl = Def.setting{ "org.apache.spark" %% "spark-repl" % sparkVersion.value } // Apache v2
val sparkSql = Def.setting{ "org.apache.spark" %% "spark-sql" % sparkVersion.value } // Apache v2
val sparkStreaming = Def.setting{ "org.apache.spark" %% "spark-streaming" % sparkVersion.value } // Apache v2
val springCore = "org.springframework" % "spring-core" % "5.2.2.RELEASE"// Apache v2
// TOREE-552 Align Guava with Spark
val guava = "com.google.guava" % "guava" % "14.0.1" // Apache v2
// Projects
val sparkAll = Def.setting{
Seq(
sparkCore.value % "provided",
sparkGraphX.value % "provided",
sparkMllib.value % "provided",
sparkRepl.value % "provided",
sparkSql.value % "provided",
sparkStreaming.value % "provided"
)
}
val py4j = "net.sf.py4j" % "py4j" % "0.10.7" % "provided"
}