From 70a2d09e2c5cd4df3da88c32b96be5273a9dc6b0 Mon Sep 17 00:00:00 2001 From: littleaj <1690572+littleaj@users.noreply.github.com> Date: Mon, 8 Jul 2019 18:35:43 -0700 Subject: [PATCH] add poms for collectd and agent --- agent/build.gradle | 8 ++++++++ collectd/build.gradle | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/agent/build.gradle b/agent/build.gradle index 4a4d38bd9c4..eddcaf00c17 100644 --- a/agent/build.gradle +++ b/agent/build.gradle @@ -24,6 +24,7 @@ plugins { } apply from: "$buildScriptsDir/common-java.gradle" +apply from: "$buildScriptsDir/publishing.gradle" shadowJar { classifier = '' @@ -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 = [] +} + diff --git a/collectd/build.gradle b/collectd/build.gradle index ccdcb12a73f..a18d91109fd 100644 --- a/collectd/build.gradle +++ b/collectd/build.gradle @@ -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 { @@ -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 = [] +}