-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle.kts
33 lines (28 loc) · 1.21 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
val junitVersion = libs.versions.junit.get()
val slf4jVersion = libs.versions.slf4j.get()
dependencies {
implementation(projects.libs.core)
implementation(projects.libs.kbeam)
// Use Apache Beam
implementation(libs.bundles.beam)
// implementation(libs.beam.sdks.java.extensions.kryo)
// implementation(libs.beam.sdks.java.extensions.euphoria)
api(libs.guava) // Force `-jre` version instead of `-android`
// We need slf4j runtime
runtimeOnly(rootProject.project.libs.slf4j.jdk14)
// Test with JUnit4 & JUnit5
testImplementation(kotlin("test"))
testImplementation(libs.junit4.test)
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:$junitVersion") {
because("allows JUnit 4 tests run along with JUnit 5")
}
testImplementation(libs.kotlinx.coroutines.test)
testImplementation(libs.hamcrest.all.test)
}
affectedTestConfiguration { jvmTestTask = "check" }
application {
mainClass.set("micro.apps.pipeline.WordCountPipeline")
// applicationDefaultJvmArgs = listOf("-noverify", "-XX:TieredStopAtLevel=1")
applicationDefaultJvmArgs =
listOf("-Djava.util.logging.config.file=src/main/resources/logging.properties", "-Dmicro.apps.level=FINE")
}