-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (64 loc) · 2.63 KB
/
Copy pathbuild.gradle
File metadata and controls
72 lines (64 loc) · 2.63 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
65
66
67
68
69
70
71
72
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'application'
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url 'http://packages.confluent.io/maven/'}
maven { url 'http://conjars.org/repo/'}
}
}
allprojects {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenLocal()
mavenCentral()
maven { url "http://packages.confluent.io/maven/" }
maven { url 'http://conjars.org/repo/'}
}
dependencies {
compile group: 'org.yaml', name: 'snakeyaml', version: "${snakeyamlVersion}"
compile group: 'org.apache.kafka', name: 'kafka_2.12', version: "${kafkaVersion}"
compile group: 'org.apache.parquet', name: 'parquet-avro', version: "${parquetAvroVersion}"
compile group: 'org.apache.hadoop', name: 'hadoop-common', version: "${hadoopVersion}"
compile group: 'io.confluent', name: 'kafka-avro-serializer', version: "${avroVersion}"
compile group: 'com.google.code.gson', name: 'gson', version: "${gsonVersion}"
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: "${slf4jVersion}"
compile group: 'com.amazonaws', name: 'aws-java-sdk', version: "${awsJavaSdkVersion}"
compile group: 'org.apache.hadoop', name: 'hadoop-client', version: "${hadoopClientVersion}"
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: "${log4jCore}"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jacksonDatabind}"
compile(group: 'org.apache.hive', name: 'hive-metastore', version: "${hiveVersion}") {
exclude group: 'org.apache.zookeeper', module: 'zookeeper'
}
compile(group: 'org.apache.hive', name: 'hive-exec', version: "${hiveVersion}", classifier: 'core') {
exclude group: 'org.apache.zookeeper', module: 'zookeeper'
}
compile fileTree(dir: 'libs', include: ['*.jar'])
}
sourceSets {
integrationTest {
java {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
}
}
}
application {
mainClassName = "com.grupozap.dumping_machine.Application"
}
tasks.withType(JavaExec) {
// Assign all Java system properties from
// the command line to the JavaExec task.
systemProperties System.properties
}
jar {
manifest {
attributes(
'Main-Class': 'com.grupozap.dumping_machine.Application'
)
}
}
}