@@ -24,16 +24,16 @@ plugins {
2424
2525data class DependencySet (val group : String , val version : String , val modules : List <String >)
2626
27- val TEST_SNAPSHOTS = rootProject.findProperty(" testUpstreamSnapshots" ) == " true"
27+ val testSnapshots = rootProject.findProperty(" testUpstreamSnapshots" ) == " true"
2828
2929// This is the version of the upstream instrumentation BOM
30- val otelVersion = " 1.32.1-adot2 "
31- val otelSnapshotVersion = " 1.33.0 "
32- val otelAlphaVersion = if (! TEST_SNAPSHOTS ) " $otelVersion -alpha" else " $otelSnapshotVersion -alpha-SNAPSHOT"
33- val otelJavaAgentVersion = if (! TEST_SNAPSHOTS ) otelVersion else " $otelSnapshotVersion -SNAPSHOT"
30+ val otelVersion = " 1.33.6 "
31+ val otelSnapshotVersion = " 1.33.6 "
32+ val otelAlphaVersion = if (! testSnapshots ) " $otelVersion -alpha" else " $otelSnapshotVersion -alpha-SNAPSHOT"
33+ val otelJavaAgentVersion = if (! testSnapshots ) otelVersion else " $otelSnapshotVersion -SNAPSHOT"
3434// All versions below are only used in testing and do not affect the released artifact.
3535
36- val DEPENDENCY_BOMS = listOf (
36+ val dependencyBoms = listOf (
3737 " com.amazonaws:aws-java-sdk-bom:1.12.599" ,
3838 " com.fasterxml.jackson:jackson-bom:2.16.0" ,
3939 " com.google.guava:guava-bom:33.0.0-jre" ,
@@ -48,7 +48,7 @@ val DEPENDENCY_BOMS = listOf(
4848 " software.amazon.awssdk:bom:2.21.33" ,
4949)
5050
51- val DEPENDENCY_SETS = listOf (
51+ val dependencySets = listOf (
5252 DependencySet (
5353 " org.assertj" ,
5454 " 3.24.2" ,
@@ -69,14 +69,15 @@ val DEPENDENCY_SETS = listOf(
6969 ),
7070)
7171
72- val DEPENDENCIES = listOf (
72+ val dependencyLists = listOf (
7373 " commons-logging:commons-logging:1.2" ,
7474 " com.sparkjava:spark-core:2.9.4" ,
7575 " com.squareup.okhttp3:okhttp:4.12.0" ,
76- " io.opentelemetry.contrib:opentelemetry-aws-xray:1.32 .0" ,
77- " io.opentelemetry.contrib:opentelemetry-aws-resources:1.32 .0-alpha" ,
76+ " io.opentelemetry.contrib:opentelemetry-aws-xray:1.39 .0" ,
77+ " io.opentelemetry.contrib:opentelemetry-aws-resources:1.39 .0-alpha" ,
7878 " io.opentelemetry.proto:opentelemetry-proto:1.0.0-alpha" ,
7979 " io.opentelemetry.javaagent:opentelemetry-javaagent:$otelJavaAgentVersion " ,
80+ " io.opentelemetry:opentelemetry-extension-aws:1.20.1" ,
8081 " net.bytebuddy:byte-buddy:1.14.10" ,
8182)
8283
@@ -85,17 +86,17 @@ javaPlatform {
8586}
8687
8788dependencies {
88- for (bom in DEPENDENCY_BOMS ) {
89+ for (bom in dependencyBoms ) {
8990 api(platform(bom))
9091 }
9192 constraints {
92- for (set in DEPENDENCY_SETS ) {
93+ for (set in dependencySets ) {
9394 for (module in set.modules) {
9495 api(" ${set.group} :$module :${set.version} " )
9596 }
9697 }
9798
98- for (dependency in DEPENDENCIES ) {
99+ for (dependency in dependencyLists ) {
99100 api(dependency)
100101 }
101102 }
@@ -104,7 +105,7 @@ dependencies {
104105rootProject.allprojects {
105106 plugins.withId(" com.github.jk1.dependency-license-report" ) {
106107 configure<LicenseReportExtension > {
107- val bomExcludes = DEPENDENCY_BOMS .stream()
108+ val bomExcludes = dependencyBoms .stream()
108109 .map { it.substring(0 , it.lastIndexOf(' :' )) }
109110 .toArray { length -> arrayOfNulls<String >(length) }
110111 excludes = bomExcludes
0 commit comments