Skip to content

Commit

Permalink
add poms for collectd and agent
Browse files Browse the repository at this point in the history
  • Loading branch information
littleaj committed Jul 9, 2019
1 parent 1924fc0 commit 70a2d09
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ plugins {
}

apply from: "$buildScriptsDir/common-java.gradle"
apply from: "$buildScriptsDir/publishing.gradle"

shadowJar {
classifier = ''
Expand Down Expand Up @@ -57,3 +58,10 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}

projectPomName = project.msftAppInsights + " Java Agent"
projectPomDescription = "This module provides automatic instrumentation for $project.msftAppInsightsJavaSdk"

whenPomConfigured = { p ->
p.dependencies = []
}

7 changes: 7 additions & 0 deletions collectd/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ plugins {
}

apply from: "$buildScriptsDir/common-java.gradle"
apply from: "$buildScriptsDir/publishing.gradle"

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

projectPomName = project.msftAppInsights + " Java CollectD Plugin"
projectPomDescription = "This module is the collectd plugin for $project.msftAppInsightsJavaSdk"

whenPomConfigured = { p ->
p.dependencies = []
}

0 comments on commit 70a2d09

Please sign in to comment.