enable fetch option in Antora unless Gradle is running in offline mode
This commit is contained in:
committed by
Marcus Hert Da Coregio
parent
c0f7cecc6d
commit
4cbb057b97
@@ -13,7 +13,7 @@ antora {
|
||||
path = 'lib/antora/templates/per-branch-antora-playbook.yml'
|
||||
checkLocalBranch = true
|
||||
}
|
||||
options = [clean: true, stacktrace: true]
|
||||
options = [clean: true, fetch: !project.gradle.startParameter.offline, stacktrace: true]
|
||||
}
|
||||
|
||||
tasks.register('generateAntora') {
|
||||
|
||||
Reference in New Issue
Block a user