-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (36 loc) · 1.1 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
plugins {
id 'java-library'
}
group = 'org.swimos'
description = 'Swim Flink Connector'
version = property('application.version')
ext.swimVersion = project.property('swim.version')
sourceCompatibility = 11
targetCompatibility = 11
dependencies {
api group: 'org.swimos', name: 'swim-api', version: swimVersion
api group: 'org.swimos', name: 'swim-server', version: swimVersion
api group: 'org.swimos', name: 'swim-client', version: swimVersion
implementation group: 'org.apache.flink', name: 'flink-streaming-java', version: '1.17.0'
implementation group: 'org.apache.flink', name: 'flink-connector-base', version: '1.17.0'
testImplementation group: 'org.testng', name: 'testng', version: '7.7.0'
}
repositories {
mavenCentral()
}
compileJava {
options.compilerArgs += ['-Xlint:all']
options.encoding = 'UTF-8'
}
test {
useTestNG()
scanForTestClasses = false
include '**/*Spec.class'
maxHeapSize = '1024m'
testLogging {
events 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
exceptionFormat 'full'
displayGranularity = 4
}
outputs.upToDateWhen { false }
}