-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (36 loc) · 1.36 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
plugins {
id 'java'
}
allprojects {
apply plugin: 'java-library'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
group = 'com.isxcode.acorn'
version = '1.0.0'
repositories {
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url "https://plugins.gradle.org/m2/" }
}
configurations.configureEach {
exclude group: "org.apache.logging.log4j", module: "log4j-slf4j-impl"
exclude group: "org.slf4j", module: "slf4j-reload4j"
}
}
dependencies {
implementation "org.apache.flink:flink-java:${FLINK_VERSION}"
implementation "org.apache.flink:flink-streaming-java:${FLINK_VERSION}"
implementation "org.apache.flink:flink-table-planner_${FLINK_SCALA_VERSION}:${FLINK_VERSION}"
implementation "org.apache.flink:flink-table-api-java-bridge:${FLINK_VERSION}"
implementation "org.apache.flink:flink-clients:${FLINK_VERSION}"
implementation "org.apache.flink:flink-connector-files:${FLINK_VERSION}"
implementation "org.apache.flink:flink-json:${FLINK_VERSION}"
}
jar {
archiveFileName = "flink-custom-job.jar"
manifest {
attributes 'Main-Class': 'com.isxcode.acorn.job.Job'
}
}