Introduce automatic module names into all libraries being built. (#781)
* Introduce automatic module names into all libraries being built. * Centralise manifest config of automatic module name into root build.gradle file. * Adding empty new lines
This commit is contained in:
parent
09bb395cbf
commit
ecad8609aa
|
|
@ -1,4 +1,5 @@
|
||||||
description = "OpenTelemetry All"
|
description = "OpenTelemetry All"
|
||||||
|
ext.moduleName = "io.opentelemetry.all"
|
||||||
|
|
||||||
def subprojects = [
|
def subprojects = [
|
||||||
project(':opentelemetry-api'),
|
project(':opentelemetry-api'),
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry API'
|
description = 'OpenTelemetry API'
|
||||||
|
ext.moduleName = "io.opentelemetry.api"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':opentelemetry-context-prop')
|
api project(':opentelemetry-context-prop')
|
||||||
|
|
|
||||||
|
|
@ -186,6 +186,14 @@ subprojects {
|
||||||
source = sourceSets*.allJava
|
source = sourceSets*.allJava
|
||||||
include '**/*.java'
|
include '**/*.java'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
inputs.property("moduleName", moduleName)
|
||||||
|
|
||||||
|
manifest {
|
||||||
|
attributes('Automatic-Module-Name': moduleName)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
signing {
|
signing {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry Context Propagation'
|
description = 'OpenTelemetry Context Propagation'
|
||||||
|
ext.moduleName = "io.opentelemetry.context.propagation"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api libraries.grpc_context
|
api libraries.grpc_context
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry Contrib Runtime Metrics'
|
description = 'OpenTelemetry Contrib Runtime Metrics'
|
||||||
|
ext.moduleName = "io.opentelemetry.contrib.metrics.runtime"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':opentelemetry-api')
|
implementation project(':opentelemetry-api')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry Contrib Trace Utils'
|
description = 'OpenTelemetry Contrib Trace Utils'
|
||||||
|
ext.moduleName = "io.opentelemetry.contrib.trace"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':opentelemetry-api')
|
api project(':opentelemetry-api')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry InMemory Export'
|
description = 'OpenTelemetry InMemory Export'
|
||||||
|
ext.moduleName = "io.opentelemetry.exporters.inmemory"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':opentelemetry-sdk')
|
api project(':opentelemetry-sdk')
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
description = 'OpenTelemetry - Jaeger Exporter'
|
description = 'OpenTelemetry - Jaeger Exporter'
|
||||||
|
ext.moduleName = "io.opentelemetry.exporters.jaeger"
|
||||||
|
|
||||||
apply plugin: 'com.google.protobuf'
|
apply plugin: 'com.google.protobuf'
|
||||||
|
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url "https://plugins.gradle.org/m2/" }
|
maven { url "https://plugins.gradle.org/m2/" }
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry - Logging Exporter'
|
description = 'OpenTelemetry - Logging Exporter'
|
||||||
|
ext.moduleName = "io.opentelemetry.exporters.logging"
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry Protocol Exporter'
|
description = 'OpenTelemetry Protocol Exporter'
|
||||||
|
ext.moduleName = "io.opentelemetry.exporters.otprotocol"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':opentelemetry-proto'),
|
api project(':opentelemetry-proto'),
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry OpenTracing Bridge'
|
description = 'OpenTelemetry OpenTracing Bridge'
|
||||||
|
ext.moduleName = "io.opentelemetry.opentracingshim"
|
||||||
|
|
||||||
def protobufVersion = '3.7.1'
|
def protobufVersion = '3.7.1'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry Proto'
|
description = 'OpenTelemetry Proto'
|
||||||
|
ext.moduleName = 'io.opentelemetry.proto'
|
||||||
|
|
||||||
apply plugin: 'com.google.protobuf'
|
apply plugin: 'com.google.protobuf'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry SDK'
|
description = 'OpenTelemetry SDK'
|
||||||
|
ext.moduleName = "io.opentelemetry.sdk"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':opentelemetry-api')
|
api project(':opentelemetry-api')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry SDK Contrib'
|
description = 'OpenTelemetry SDK Contrib'
|
||||||
|
ext.moduleName = "io.opentelemetry.sdk.contrib.trace.export"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':opentelemetry-api'),
|
api project(':opentelemetry-api'),
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry SDK AWS SDK v1.x Support'
|
description = 'OpenTelemetry SDK AWS SDK v1.x Support'
|
||||||
|
ext.moduleName = "io.opentelemetry.sdk.contrib.trace.aws"
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
description = 'OpenTelemetry SDK Testbed'
|
description = 'OpenTelemetry SDK Testbed'
|
||||||
|
ext.moduleName = 'io.opentelemetry.sdk.contrib.trace.testbed'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':opentelemetry-api')
|
api project(':opentelemetry-api')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue