Skip to content

Commit 5948f57

Browse files
committed
add snapshot dependency
1 parent 6bf15df commit 5948f57

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

jmx-scraper/build.gradle.kts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,20 @@ otelJava.moduleName.set("io.opentelemetry.contrib.jmxscraper")
1313

1414
application.mainClass.set("io.opentelemetry.contrib.jmxscraper.JmxScraper")
1515

16+
repositories {
17+
mavenCentral()
18+
mavenLocal()
19+
// TODO: remove snapshot repository once 2.9.0 is released
20+
maven {
21+
setUrl("https://oss.sonatype.org/content/repositories/snapshots")
22+
}
23+
24+
}
25+
26+
1627
dependencies {
1728
// TODO remove snapshot dependency on upstream once 2.9.0 is released
18-
// api(enforcedPlatform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.9.0-SNAPSHOT-alpha",))
29+
api(enforcedPlatform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.9.0-alpha-SNAPSHOT"))
1930

2031
implementation("io.opentelemetry:opentelemetry-api")
2132
implementation("io.opentelemetry:opentelemetry-sdk")

0 commit comments

Comments
 (0)