File tree 12 files changed +19
-19
lines changed 12 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ plugins {
8
8
9
9
description = " OpenTelemetry API"
10
10
otelJava.moduleName.set(" io.opentelemetry.api" )
11
- base.archivesBaseName = " opentelemetry-api"
11
+ base.archivesName.set( " opentelemetry-api" )
12
12
13
13
dependencies {
14
14
api(project(" :context" ))
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ subprojects {
3
3
group = " io.opentelemetry.api"
4
4
val proj = this
5
5
plugins.withId(" java" ) {
6
- configure<BasePluginConvention > {
7
- archivesBaseName = " opentelemetry-api-${proj.name} "
6
+ configure<BasePluginExtension > {
7
+ archivesName.set( " opentelemetry-api-${proj.name} " )
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ plugins {
4
4
5
5
description = " OpenTelemetry Bill of Materials (Alpha)"
6
6
group = " io.opentelemetry"
7
- base.archivesBaseName = " opentelemetry-bom-alpha"
7
+ base.archivesName.set( " opentelemetry-bom-alpha" )
8
8
9
9
otelBom.projectFilter.set { it.findProperty(" otel.release" ) == " alpha" }
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ plugins {
4
4
5
5
description = " OpenTelemetry Bill of Materials"
6
6
group = " io.opentelemetry"
7
- base.archivesBaseName = " opentelemetry-bom"
7
+ base.archivesName.set( " opentelemetry-bom" )
8
8
9
9
otelBom.projectFilter.set { ! it.hasProperty(" otel.release" ) }
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ rootProject.tasks.named(generateBuildSubstitutions.name) {
33
33
afterEvaluate {
34
34
otelBom.projectFilter.finalizeValue()
35
35
val bomProjects = rootProject.subprojects
36
- .sortedBy { it.findProperty(" archivesBaseName " ) as String? }
36
+ .sortedBy { it.findProperty(" archivesName " ) as String? }
37
37
.filter { ! it.name.startsWith(" bom" ) }
38
38
.filter(otelBom.projectFilter.get()::test)
39
39
.filter { it.plugins.hasPlugin(" maven-publish" ) }
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ subprojects {
3
3
group = " io.opentelemetry.exporters"
4
4
val proj = this
5
5
plugins.withId(" java" ) {
6
- configure<BasePluginConvention > {
7
- archivesBaseName = " opentelemetry-exporter-${proj.name} "
6
+ configure<BasePluginExtension > {
7
+ archivesName.set( " opentelemetry-exporter-${proj.name} " )
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ subprojects {
3
3
group = " io.opentelemetry.exporter.otlp.http"
4
4
val proj = this
5
5
plugins.withId(" java" ) {
6
- configure<BasePluginConvention > {
7
- archivesBaseName = " opentelemetry-exporter-otlp-http-${proj.name} "
6
+ configure<BasePluginExtension > {
7
+ archivesName.set( " opentelemetry-exporter-otlp-http-${proj.name} " )
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ plugins {
8
8
9
9
description = " OpenTelemetry Protocol Exporters"
10
10
otelJava.moduleName.set(" io.opentelemetry.exporter.otlp" )
11
- base.archivesBaseName = " opentelemetry-exporter-otlp"
11
+ base.archivesName.set( " opentelemetry-exporter-otlp" )
12
12
13
13
dependencies {
14
14
api(project(" :exporters:otlp:trace" ))
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ subprojects {
3
3
group = " io.opentelemetry.exporter.otlp"
4
4
val proj = this
5
5
plugins.withId(" java" ) {
6
- configure<BasePluginConvention > {
7
- archivesBaseName = " opentelemetry-exporter-otlp-${proj.name} "
6
+ configure<BasePluginExtension > {
7
+ archivesName.set( " opentelemetry-exporter-otlp-${proj.name} " )
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change 1
1
subprojects {
2
2
val proj = this
3
3
plugins.withId(" java" ) {
4
- configure<BasePluginConvention > {
5
- archivesBaseName = " opentelemetry-extension-${proj.name} "
4
+ configure<BasePluginExtension > {
5
+ archivesName.set( " opentelemetry-extension-${proj.name} " )
6
6
}
7
7
}
8
8
}
Original file line number Diff line number Diff line change 1
1
subprojects {
2
2
val proj = this
3
3
plugins.withId(" java" ) {
4
- configure<BasePluginConvention > {
5
- archivesBaseName = " opentelemetry-sdk-extension-${proj.name} "
4
+ configure<BasePluginExtension > {
5
+ archivesName.set( " opentelemetry-sdk-extension-${proj.name} " )
6
6
}
7
7
}
8
8
}
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ subprojects {
3
3
group = " io.opentelemetry.sdk"
4
4
val proj = this
5
5
plugins.withId(" java" ) {
6
- configure<BasePluginConvention > {
7
- archivesBaseName = " opentelemetry-sdk-${proj.name} "
6
+ configure<BasePluginExtension > {
7
+ archivesName.set( " opentelemetry-sdk-${proj.name} " )
8
8
}
9
9
}
10
10
}
You can’t perform that action at this time.
0 commit comments