-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (50 loc) · 1.68 KB
/
build.gradle
File metadata and controls
64 lines (50 loc) · 1.68 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
plugins {
id 'scala'
}
group 'com.sparkonlambda'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'scala'
apply plugin: 'idea'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
implementation 'org.scala-lang:scala-library:2.12.8'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.5'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.5'
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-scala_2.12', version: '2.9.5'
compile(group: 'org.apache.spark', name: 'spark-core_2.12', version: '2.4.3')
compile(group: 'org.apache.spark', name: 'spark-sql_2.12', version: '2.4.3')
compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '1.2.0'
compile group: 'com.amazonaws', name: 'aws-lambda-java-events', version: '2.2.6'
compile(group: 'org.apache.hadoop', name: 'hadoop-aws', version: '3.2.0')
// compile group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.11.598'
compile(group: 'org.apache.hadoop', name: 'hadoop-common', version: '3.2.0')
testImplementation 'junit:junit:4.12'
testImplementation 'org.scalatest:scalatest_2.12:3.0.5'
testRuntimeOnly 'org.scala-lang.modules:scala-xml_2.12:1.1.1'
}
sourceSets {
main {
scala {
srcDirs = ['src/main/scala', 'src/main/java']
}
java {
srcDirs = []
}
}
}
task buildZip(type: Zip) {
from compileJava
from compileScala
from processResources
into('lib') {
from configurations.runtimeClasspath
}
}
build.dependsOn buildZip