-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (45 loc) · 1.38 KB
/
build.gradle
File metadata and controls
57 lines (45 loc) · 1.38 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
plugins {
id 'com.github.johnrengelman.shadow' version '2.0.1'
id 'java'
id 'application'
id 'idea'
id 'eclipse'
id 'war'
}
javadoc {
source = sourceSets.main.allJava
classpath = configurations.compile
}
repositories {
jcenter()
}
dependencies {
// Dependencies go here
testCompile 'junit:junit:4.12'
// https://mvnrepository.com/artifact/org.apache.spark/spark-streaming
providedCompile group: 'org.apache.spark', name: 'spark-streaming_2.11', version: '2.3.0'
// https://mvnrepository.com/artifact/org.apache.spark/spark-streaming
// providedCompile group: 'org.apache.spark', name: 'spark-streaming_2.10', version: '0.9.0-incubating'
// https://mvnrepository.com/artifact/org.apache.spark/spark-core
compile group: 'org.apache.spark', name: 'spark-core_2.11', version: '2.3.0'
// https://mvnrepository.com/artifact/org.apache.spark/spark-streaming-kafka-0-10
compile group: 'org.apache.spark', name: 'spark-streaming-kafka-0-10_2.11', version: '2.4.0'
}
mainClassName = 'com.streamtest.Main'
shadowJar {
baseName = 'streamapp-shadow'
classifier = null
version = null
zip64 = true
manifest {
attributes 'Description': 'Stream application JAR'
}
}