File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,14 @@ sourceSets {
37
37
dependencies {
38
38
api(project(" :driver-sync" ))
39
39
api(project(" :mongodb-crypt" ))
40
+
41
+ implementation(platform(libs.netty.bom))
42
+ implementation(libs.bundles.netty)
43
+
40
44
implementation(libs.logback.classic)
41
45
implementation(libs.jmh.core)
42
46
annotationProcessor(libs.jmh.generator.annprocess)
47
+
43
48
}
44
49
45
50
tasks.register<JavaExec >(" jmh" ) {
@@ -49,6 +54,14 @@ tasks.register<JavaExec>("jmh") {
49
54
classpath = sourceSets.main.get().runtimeClasspath
50
55
}
51
56
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
+
52
65
tasks.withType<Javadoc >().configureEach {
53
66
enabled = false
54
67
}
You can’t perform that action at this time.
0 commit comments