Publish jfr-events module (#2461)

* Publish jfr-events module

* Fix jacoco config error

* testJava8
This commit is contained in:
Anuraag Agrawal 2021-01-09 02:22:31 +09:00 committed by GitHub
parent 757cd79889
commit fe061e90bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -5,6 +5,18 @@ plugins {
description = "OpenTelemetry All"
ext.moduleName = "io.opentelemetry.all"
// We don't compile much here, just some API boundary tests. This project is mostly for
// aggregating jacoco reports and it doesn't work if this isn't at least as high as the
// highest supported Java version in any of our projects. Most of our projects target
// Java 8, except for jfr-events.
tasks.withType(JavaCompile) {
it.options.release = 11
}
tasks.testJava8 {
enabled = false
}
dependencies {
rootProject.subprojects.each { subproject ->
// Generate aggregate coverage report for published modules that enable jacoco.

View File

@ -1,5 +1,6 @@
plugins {
id "java-library"
id "maven-publish"
}
description = 'OpenTelemetry SDK Extension JFR'