Skip to content

Commit eeaf99d

Browse files
committed
Fix merge conflicts.
JAVA-5813
1 parent 575ee28 commit eeaf99d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

driver-benchmarks/build.gradle

Whitespace-only changes.

driver-benchmarks/build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,14 @@ sourceSets {
3737
dependencies {
3838
api(project(":driver-sync"))
3939
api(project(":mongodb-crypt"))
40+
41+
implementation(platform(libs.netty.bom))
42+
implementation(libs.bundles.netty)
43+
4044
implementation(libs.logback.classic)
4145
implementation(libs.jmh.core)
4246
annotationProcessor(libs.jmh.generator.annprocess)
47+
4348
}
4449

4550
tasks.register<JavaExec>("jmh") {
@@ -49,6 +54,14 @@ tasks.register<JavaExec>("jmh") {
4954
classpath = sourceSets.main.get().runtimeClasspath
5055
}
5156

57+
tasks.register<JavaExec>("runNetty") {
58+
group = "application"
59+
description = "Run the Netty main class."
60+
mainClass.set("com.mongodb.benchmark.benchmarks.netty.BenchmarkNettyProviderSuite")
61+
classpath = sourceSets["main"].runtimeClasspath
62+
jvmArgs = application.applicationDefaultJvmArgs.toList()
63+
}
64+
5265
tasks.withType<Javadoc>().configureEach {
5366
enabled = false
5467
}

0 commit comments

Comments
 (0)