Publish docs zip to Maven
It seems I broke this while updating the Gradle build.
This commit is contained in:
15
build.gradle
15
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
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user