-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (43 loc) · 1.27 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
plugins {
// Apply the java plugin to add support for Java
id 'java-library'
id 'com.jfrog.bintray' version '1.8.1' apply false
}
group = 'org.radarcns'
version '0.2.1'
targetCompatibility = '1.8'
sourceCompatibility = '1.8'
ext {
confluentVersion = '5.0.0'
kafkaVersion = '2.0.0-cp1'
radarCommonsVersion = '0.10.0'
}
configurations {
codacy
}
repositories {
jcenter()
maven { url 'http://repo.spring.io/plugins-release/' }
maven { url 'http://packages.confluent.io/maven/' }
maven { url 'https://jitpack.io' }
maven { url 'http://dl.bintray.com/typesafe/maven-releases' }
}
dependencies {
api group: 'io.confluent', name: 'kafka-connect-hdfs', version: confluentVersion
runtimeOnly group: 'org.radarcns', name: 'radar-commons-unsafe', version: radarCommonsVersion
compileOnly group: 'org.apache.kafka', name: 'connect-api', version: kafkaVersion
compileOnly group: 'org.apache.kafka', name: 'kafka_2.12', version: kafkaVersion
}
jar {
manifest {
attributes 'Implementation-Title': 'RADAR-CNS HDFS Connector',
'Implementation-Version': version
}
}
wrapper {
gradleVersion '4.9'
}
if (!hasProperty('profile')) {
ext.profile = 'dev'
}
apply from: "gradle/profile.${profile}.gradle"