-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
38 lines (32 loc) · 1007 Bytes
/
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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'application'
mainClassName = "a.poc.KafkaSparkServiceApplication"
applicationDefaultJvmArgs = [
"-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector",
"-Dorg.apache.logging.log4j.simplelog.StatusLogger.level=TRACE",
"-Xmx2048m",
"-Xms128m"
]
run {
if (System.getProperty('DEBUG', 'false') == 'true') {
jvmArgs '-Xdebug',
'-agentlib:jdwp=transport=dt_socket,address=9009,server=y,suspend=y'
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile([
'org.apache.spark:spark-core_2.10:1.6.2',
'org.apache.spark:spark-streaming_2.10:1.6.2',
'org.apache.spark:spark-streaming-kafka_2.10:1.6.2',
'org.apache.logging.log4j:log4j-api:2.6.2',
'org.apache.logging.log4j:log4j-core:2.6.2',
'com.lmax:disruptor:3.3.0'
])
}