File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
instrumentation/runtime-metrics/runtime-metrics-java17/library Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,16 @@ dependencies {
1010 implementation(project(" :instrumentation:runtime-metrics:runtime-metrics-java8:library" ))
1111 testImplementation(" io.github.netmikey.logunit:logunit-jul:1.1.3" )
1212}
13+
1314tasks.create(" generateDocs" , JavaExec ::class ) {
1415 group = " build"
1516 description = " Generate table for README.md"
1617 classpath = sourceSets.test.get().runtimeClasspath
1718 mainClass.set(" io.opentelemetry.instrumentation.runtimemetrics.java17.GenerateDocs" )
1819 systemProperties.set(" jfr.readme.path" , project.projectDir.toString() + " /README.md" )
1920}
20- tasks {
2121
22+ tasks {
2223 val testG1 by registering(Test ::class ) {
2324 filter {
2425 includeTestsMatching(" *G1GcMemoryMetricTest*" )
@@ -49,6 +50,9 @@ tasks {
4950 excludeTestsMatching(" *SerialGcMemoryMetricTest" )
5051 excludeTestsMatching(" *PsGcMemoryMetricTest" )
5152 }
53+ }
54+
55+ check {
5256 dependsOn(testG1)
5357 dependsOn(testPS)
5458 dependsOn(testSerial)
You can’t perform that action at this time.
0 commit comments