-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
86 lines (76 loc) · 2.28 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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
* Copyright (c) 2016 Cisco and/or its affiliates.
*
* This software is licensed to you under the terms of the Apache License,
* Version 2.0 (the "License"). You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* The code, technical concepts, and all information contained herein, are the
* property of Cisco Technology, Inc. and/or its affiliated entities, under
* various laws including copyright, international treaties, patent, and/or
* contract. Any use of the material herein must be in accordance with the
* terms of the License. All rights not expressly granted by the License are
* reserved.
*
* Unless required by applicable law or agreed to separately in writing,
* software distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
apply plugin: 'java'
apply plugin: 'pmd'
apply plugin: 'findbugs'
findbugs{
findbugsTest.enabled=false
}
pmd {
pmdTest.enabled=false
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
}
repositories {
mavenCentral()
maven {
url "http://packages.confluent.io/maven/"
}
maven {
url "http://conjars.org/repo"
}
}
dependencies {
compile 'com.linkedin.gobblin:gobblin-api:0.11.0'
compile 'com.linkedin.gobblin:gobblin-core:0.11.0'
compile 'org.kitesdk:kite-data-core:1.1.0'
compile 'org.apache.commons:commons-jexl:2.1.1'
compile 'org.apache.httpcomponents:httpmime:4.5.2'
compile 'com.googlecode.javaewah:JavaEWAH:1.1.6'
compile 'org.jgrapht:jgrapht-core:0.9.2'
compile 'org.kitesdk:kite-hadoop-compatibility:1.1.0'
compile 'com.opencsv:opencsv:3.8'
compile 'com.google.protobuf:protobuf-java:3.5.1'
}
configurations {
compile {
transitive = false
}
}
jar {
[ 'compile'].each { mode ->
copy {
from configurations.getByName(mode).files
into "./tmp/libs/"
exclude 'gobblin-api-*.jar'
exclude 'gobblin-core-*.jar'
exclude 'httpmime-*.jar'
exclude 'JavaEWAH-*.jar'
exclude 'jgrapht-core-*.jar'
exclude 'kite-hadoop-compatibility-*.jar'
exclude 'protobuf-java-*.jar'
}
}
}
test {
include '**/*Test*'
}