File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
buildSrc/src/main/kotlin/com/datadog/gradle/config Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ object MavenConfig {
18
18
const val PUBLICATION = " release"
19
19
}
20
20
21
- fun Project.publishingConfig (projectDescription : String ) {
21
+ fun Project.publishingConfig (
22
+ projectDescription : String ,
23
+ customArtifactId : String = name
24
+ ) {
22
25
val projectName = name
23
26
24
27
val androidExtension =
@@ -48,7 +51,7 @@ fun Project.publishingConfig(projectDescription: String) {
48
51
from(components.getByName(" release" ))
49
52
50
53
groupId = MavenConfig .GROUP_ID
51
- artifactId = projectName
54
+ artifactId = customArtifactId
52
55
version = AndroidConfig .VERSION .name
53
56
54
57
pom {
Original file line number Diff line number Diff line change @@ -59,4 +59,7 @@ kotlinConfig()
59
59
junitConfig()
60
60
dependencyUpdateConfig()
61
61
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
+ )
You can’t perform that action at this time.
0 commit comments