Prepare CI build.
This commit is contained in:
parent
2d73d3ff07
commit
591205a663
1 changed files with 16 additions and 0 deletions
16
build.gradle
16
build.gradle
|
|
@ -16,6 +16,22 @@ plugins {
|
||||||
|
|
||||||
project.group = 'org.jdrupes.vmoperator'
|
project.group = 'org.jdrupes.vmoperator'
|
||||||
|
|
||||||
|
task stage {
|
||||||
|
description = 'To be executed by CI, build and update JavaDoc.'
|
||||||
|
group = 'build'
|
||||||
|
|
||||||
|
// Build everything first
|
||||||
|
gradle.projectsEvaluated {
|
||||||
|
dependsOn subprojects.tasks.collect {
|
||||||
|
tc -> tc.findByName("build") }.flatten()
|
||||||
|
}
|
||||||
|
|
||||||
|
if (JavaVersion.current() == JavaVersion.VERSION_17) {
|
||||||
|
// Publish JavaDoc
|
||||||
|
dependsOn gitPublishPush
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
eclipse {
|
eclipse {
|
||||||
project {
|
project {
|
||||||
file {
|
file {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue