diff --git a/metrics/core/build.gradle b/metrics/core/build.gradle index d2709abc7d..5608fe61ca 100644 --- a/metrics/core/build.gradle +++ b/metrics/core/build.gradle @@ -25,6 +25,15 @@ jar { } } +publishing { + publications { + mavenJava(MavenPublication) { + artifactId 'metrics-core' + } + } +} + + dependencies { implementation 'com.google.guava:guava' implementation 'io.prometheus:simpleclient' diff --git a/services/util/build.gradle b/services/util/build.gradle index 1321c88d86..224ee1ceba 100644 --- a/services/util/build.gradle +++ b/services/util/build.gradle @@ -14,7 +14,7 @@ apply plugin: 'java-library' jar { - baseName 'services-util' + baseName 'pantheon-services-util' manifest { attributes( 'Specification-Title': baseName, @@ -25,6 +25,14 @@ jar { } } +publishing { + publications { + mavenJava(MavenPublication) { + artifactId 'services-util' + } + } +} + dependencies { api project(':util') implementation project(':metrics:core')