Skip to content

Commit fe061e9

Browse files
author
Anuraag Agrawal
authored
Publish jfr-events module (open-telemetry#2461)
* Publish jfr-events module * Fix jacoco config error * testJava8
1 parent 757cd79 commit fe061e9

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

all/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ plugins {
55
description = "OpenTelemetry All"
66
ext.moduleName = "io.opentelemetry.all"
77

8+
// We don't compile much here, just some API boundary tests. This project is mostly for
9+
// aggregating jacoco reports and it doesn't work if this isn't at least as high as the
10+
// highest supported Java version in any of our projects. Most of our projects target
11+
// Java 8, except for jfr-events.
12+
tasks.withType(JavaCompile) {
13+
it.options.release = 11
14+
}
15+
16+
tasks.testJava8 {
17+
enabled = false
18+
}
19+
820
dependencies {
921
rootProject.subprojects.each { subproject ->
1022
// Generate aggregate coverage report for published modules that enable jacoco.

sdk-extensions/jfr-events/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
id "java-library"
3+
id "maven-publish"
34
}
45

56
description = 'OpenTelemetry SDK Extension JFR'

0 commit comments

Comments
 (0)