Skip to content

Commit

Permalink
Use nebula publication for micrometer-bom so license is present
Browse files Browse the repository at this point in the history
The license was missing with the previous setup of a separate publication from the nebula publication. This reverts to the simpler setup of just using the nebula publication.

Resolves micrometer-metrics#1618
  • Loading branch information
shakuzen committed Oct 1, 2019
1 parent e62faa3 commit f03a570
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions micrometer-bom/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
id 'maven-publish'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
}

Expand All @@ -18,26 +17,3 @@ dependencyManagement {
}
}
}

bintray.publication = 'mavenBom'
artifactory {
publish {
defaults {
publications 'mavenBom'
}
}
}

publishing {
publications {
mavenBom(MavenPublication) {
}
}
}

tasks.withType(PublishToMavenLocal) {
onlyIf {
// avoid publishing `nebula` publication added by plugins
publication == publishing.publications.mavenBom
}
}

0 comments on commit f03a570

Please sign in to comment.