-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (49 loc) · 1.26 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
group 'com.wallstreetcn.flume'
version '0.1'
apply plugin: 'java'
sourceCompatibility = 1.8
ext {
flumeVersion = '1.8.0'
}
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath group: 'com.alibaba', name: 'fastjson', version: '1.2.46'
classpath group: 'org.jooq', name: 'jooq', version: '3.10.5'
classpath group: 'org.apache.flume', name: 'flume-ng-sdk', version: '1.8.0'
classpath group: 'org.apache.flume', name: 'flume-ng-core', version: '1.8.0'
}
}
apply plugin: 'java'
apply plugin: 'idea'
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.46'
compile group: 'org.jooq', name: 'jooq', version: '3.10.5'
compile group: 'org.apache.flume', name: 'flume-ng-sdk', version: '1.8.0'
compile group: 'org.apache.flume', name: 'flume-ng-core', version: '1.8.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '4.3'
}
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
resources {
srcDir 'src/main/resources'
}
}
}
compileJava.source sourceSets.main.java
jar {
baseName = 'wallstreetcn-jdbc-sink'
version = '0.0.1'
}