Skip to content

Commit 70a2d09

Browse files
committed
add poms for collectd and agent
1 parent 1924fc0 commit 70a2d09

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

agent/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ plugins {
2424
}
2525

2626
apply from: "$buildScriptsDir/common-java.gradle"
27+
apply from: "$buildScriptsDir/publishing.gradle"
2728

2829
shadowJar {
2930
classifier = ''
@@ -57,3 +58,10 @@ dependencies {
5758
testCompile group: 'junit', name: 'junit', version: '4.12'
5859
}
5960

61+
projectPomName = project.msftAppInsights + " Java Agent"
62+
projectPomDescription = "This module provides automatic instrumentation for $project.msftAppInsightsJavaSdk"
63+
64+
whenPomConfigured = { p ->
65+
p.dependencies = []
66+
}
67+

collectd/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ plugins {
2424
}
2525

2626
apply from: "$buildScriptsDir/common-java.gradle"
27+
apply from: "$buildScriptsDir/publishing.gradle"
2728

2829
// Since we're building the shadow jar, we have no use in the jar contains only CollectD code.
2930
jar {
@@ -52,3 +53,9 @@ dependencies {
5253
testCompile files(collectDLibPath)
5354
}
5455

56+
projectPomName = project.msftAppInsights + " Java CollectD Plugin"
57+
projectPomDescription = "This module is the collectd plugin for $project.msftAppInsightsJavaSdk"
58+
59+
whenPomConfigured = { p ->
60+
p.dependencies = []
61+
}

0 commit comments

Comments
 (0)