Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (target.exists()) {
.replaceAll('%LANG%', language)
.replaceAll('%TYPE%', docFormat)
)
def projectIdentifier = "${language}:${docFormat}"
def projectIdentifier = ("${f.parentFile.path}" - "${layout.rootDirectory.asFile.path}/").replaceAll("/",":")
logger.info "include subproject ${projectIdentifier} in ${parentFilePath}"
include(projectIdentifier)
project(":${projectIdentifier}").projectDir = new File(parentFilePath)
Expand Down
4 changes: 2 additions & 2 deletions subBuild.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ task generateHTML (
type: AsciidoctorTask,
dependsOn: [copyImages, copyAsciidoc],
description: 'use html5 as asciidoc backend') {
sourceDir = file("src")
sources {
file("src")
include 'arc42-template.adoc'
}
outputDir = new File( localBuildDir.html )
Expand All @@ -101,8 +101,8 @@ task generateDocbook (
type: AsciidoctorTask,
dependsOn: [copyImages, copyAsciidoc],
description: 'use docbook as asciidoc backend') {
sourceDir = file("src")
sources {
file("src")
include 'arc42-template.adoc'
}
if (localBuildDir.docbook) {
Expand Down