-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
60 lines (47 loc) · 1.6 KB
/
build.gradle.kts
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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
id("org.jetbrains.kotlin.jvm") version "1.4.10"
id("org.jlleitschuh.gradle.ktlint") version "9.3.0"
id("idea")
`java-library`
}
repositories {
jcenter()
}
group = "com.szer"
object V {
const val scala = "2.12"
const val flink = "1.11.1"
const val kotlinx = "1.3.9"
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${V.kotlinx}")
implementation("org.apache.flink:flink-streaming-java_${V.scala}:${V.flink}")
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
testImplementation("org.apache.flink:flink-streaming-java_${V.scala}:${V.flink}:tests")
testImplementation("org.apache.flink:flink-runtime_${V.scala}:${V.flink}:tests")
}
tasks {
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
test {
testLogging {
events(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
showExceptions = true
exceptionFormat = TestExceptionFormat.FULL
showCauses = true
showStackTraces = true
showExceptions = true
exceptionFormat = TestExceptionFormat.FULL
showCauses = true
showStackTraces = true
showStandardStreams = false
showStandardStreams = false
}
}
}