-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (30 loc) · 1.26 KB
/
build.gradle
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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Scala library project to get you started.
* For more details take a look at the Scala plugin chapter in the Gradle
* user guide available at https://docs.gradle.org/4.10.3/userguide/scala_plugin.html
*/
plugins {
// Apply the scala plugin to add support for Scala
id 'scala'
id 'java'
id 'idea'
}
dependencies {
// Use Scala 2.11 in our library project
compile 'org.scala-lang:scala-library:2.12.10'
compile group: 'org.scala-lang', name: 'scala-reflect', version: '2.12.10'
compile group: 'org.apache.spark', name: 'spark-core_2.12', version: '2.4.4'
compile group: 'org.apache.spark', name: 'spark-sql_2.12', version: '2.4.4'
compile group: 'org.apache.spark', name: 'spark-streaming_2.12', version: '2.4.4'
testCompile 'junit:junit:4.12'
testCompile group: 'org.scalatest', name: 'scalatest_2.12', version: '3.0.8'
compile group: 'org.scala-lang.modules', name: 'scala-xml_2.12', version: '1.2.0'
}
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}