Skip to content

Commit ccd7932

Browse files
committed
RUM-10173: Change Benchmark artifact Id to dd-sdk-android-benchmark
1 parent 1e8e26f commit ccd7932

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

buildSrc/src/main/kotlin/com/datadog/gradle/config/MavenConfig.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ object MavenConfig {
1818
const val PUBLICATION = "release"
1919
}
2020

21-
fun Project.publishingConfig(projectDescription: String) {
21+
fun Project.publishingConfig(
22+
projectDescription: String,
23+
customArtifactId: String = name
24+
) {
2225
val projectName = name
2326

2427
val androidExtension =
@@ -48,7 +51,7 @@ fun Project.publishingConfig(projectDescription: String) {
4851
from(components.getByName("release"))
4952

5053
groupId = MavenConfig.GROUP_ID
51-
artifactId = projectName
54+
artifactId = customArtifactId
5255
version = AndroidConfig.VERSION.name
5356

5457
pom {

tools/benchmark/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,7 @@ kotlinConfig()
5959
junitConfig()
6060
dependencyUpdateConfig()
6161
androidLibraryConfig()
62-
publishingConfig("An internal benchmarking tool to measure the overhead of Datadog SDK")
62+
publishingConfig(
63+
projectDescription = "An internal benchmarking tool to measure the overhead of Datadog SDK",
64+
customArtifactId = "dd-sdk-android-benchmark-internal"
65+
)

0 commit comments

Comments
 (0)