Set up javadoc
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
89b9e50984
commit
425c45ba71
|
@ -1,12 +1,29 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
maven:
|
maven:
|
||||||
image: gradle:alpine
|
image: gradle:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
|
||||||
- GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G
|
|
||||||
- GRADLE_USER_HOME=${CI_WORKSPACE}/.gradle
|
|
||||||
commands:
|
commands:
|
||||||
- gradle publish -Pmaven="https://maven.frohnmeyer-wds.de/artifacts"
|
- gradle publish javadoc -Pmaven="https://maven.frohnmeyer-wds.de/artifacts"
|
||||||
|
- mkdir javadoc
|
||||||
|
- mv commons-gson/build/docs/javadoc javadoc/commons-gson
|
||||||
|
- mv commons-manifold/build/docs/javadoc javadoc/commons-manifold
|
||||||
|
- mv commons-slf4j/build/docs/javadoc javadoc/commons-slf4j
|
||||||
|
- mv muscript/build/docs/javadoc javadoc/muscript
|
||||||
|
- mv build/docs/javadoc javadoc/commons
|
||||||
secrets: [ maven_token, maven_name ]
|
secrets: [ maven_token, maven_name ]
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
|
publishJavadoc:
|
||||||
|
image: woodpeckerci/plugin-s3
|
||||||
|
settings:
|
||||||
|
bucket: pages
|
||||||
|
region: nebula
|
||||||
|
path_style: true
|
||||||
|
endpoint: https://s3.frohnmeyer-wds.de
|
||||||
|
access_key: pages
|
||||||
|
secret_key:
|
||||||
|
from_secret: pages_secret
|
||||||
|
source: javadoc/**/*
|
||||||
|
target: /${CI_REPO}
|
||||||
|
when:
|
||||||
|
- branch: master
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
`java-library`
|
`java-library`
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
|
id("jf.umldoc")
|
||||||
}
|
}
|
||||||
|
|
||||||
version = rootProject.version
|
version = rootProject.version
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import io.gitlab.jfronny.scripts.*
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("commons.library")
|
id("commons.library")
|
||||||
}
|
}
|
||||||
|
@ -20,3 +22,8 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.javadoc {
|
||||||
|
linksOffline("https://pages.frohnmeyer-wds.de/Johannes/java-commons/commons", project(":"))
|
||||||
|
//TODO link gson javadoc (harder to generate than expected)
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import io.gitlab.jfronny.scripts.*
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("commons.library")
|
id("commons.library")
|
||||||
id("jf.manifold")
|
id("jf.manifold")
|
||||||
|
@ -23,3 +25,7 @@ tasks.jar {
|
||||||
attributes(mapOf("Contains-Sources" to "java,class"))
|
attributes(mapOf("Contains-Sources" to "java,class"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.javadoc {
|
||||||
|
linksOffline("https://pages.frohnmeyer-wds.de/Johannes/java-commons/commons", project(":"))
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import io.gitlab.jfronny.scripts.*
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("commons.library")
|
id("commons.library")
|
||||||
}
|
}
|
||||||
|
@ -20,3 +22,8 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.javadoc {
|
||||||
|
linksOffline("https://pages.frohnmeyer-wds.de/Johannes/java-commons/commons", project(":"))
|
||||||
|
opts.links("https://www.slf4j.org/apidocs")
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import io.gitlab.jfronny.scripts.*
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("commons.library")
|
id("commons.library")
|
||||||
}
|
}
|
||||||
|
@ -19,3 +21,7 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.javadoc {
|
||||||
|
linksOffline("https://pages.frohnmeyer-wds.de/Johannes/java-commons/commons", project(":"))
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue