-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (34 loc) · 1.5 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
40
41
42
43
44
/*
* 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 Manual available at https://docs.gradle.org/6.6.1/userguide/scala_plugin.html
*/
plugins {
// Apply the scala plugin to add support for Scala
id 'scala'
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
}
repositories {
// Use jcenter for resolving dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
dependencies {
// Use Scala 2.13 in our library project
implementation 'org.scala-lang:scala-library:2.12.2'
compile group: 'com.google.code.gson', name: 'gson', version:'2.7'
compile 'com.typesafe:config:1.3.0'
// Use Scalatest for testing our library
testImplementation 'junit:junit:null'
testImplementation 'org.scalatest:scalatest_2.12:3.0.1'
testImplementation 'org.scalatestplus:junit-4-12_2.12:3.1.2.0'
// Need scala-xml at test runtime
testRuntimeOnly 'org.scala-lang.modules:scala-xml_2.12:1.0.6'
// https://mvnrepository.com/artifact/org.apache.spark/
compile group: 'org.apache.spark', name: 'spark-core_' + '2.12', version: '2.4.5'
compile group: 'org.apache.spark', name: 'spark-sql_' + '2.12', version: '2.4.5'
compile group: 'com.mikesamuel', name: 'json-sanitizer', version: '1.2.1'
}