diff --git a/build.gradle b/build.gradle index d16548c..2988c17 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ import java.util.concurrent.ConcurrentHashMap + /* * Copyright 2002-2020 the original author or authors. * @@ -237,7 +238,7 @@ configure(publishedProjects) { publications { mavenJava(MavenPublication) { suppressAllPomMetadataWarnings() - from components.java + from components.findByName('java') pom { afterEvaluate { name = project.description @@ -356,6 +357,16 @@ distributions { } } +publishing { + publications { + mavenJava(MavenPublication) { + artifact docsDistZip { + classifier 'docs' + } + } + } +} + task codeCoverageReport(type: JacocoReport) { dependsOn staticAnalysisProjects*.test @@ -413,5 +424,5 @@ def getLibraryProjects() { } def getPublishedProjects() { - libraryProjects + starterProjects + libraryProjects + starterProjects + rootProject } diff --git a/ci/pipeline.yml b/ci/pipeline.yml index c00a682..1e87f86 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -45,7 +45,7 @@ jobs: disable_checksum_uploads: true artifact_set: - include: - - "/**/spring-cloud-app-broker-docs-*.zip" + - "/**/spring-cloud-app-broker-*-docs.zip" properties: "zip.type": "docs" "zip.deployed": "false"