1
0
mirror of synced 2026-05-22 21:33:16 +00:00

enable fetch option in Antora unless Gradle is running in offline mode

This commit is contained in:
Dan Allen
2023-01-17 10:36:17 -07:00
committed by Marcus Hert Da Coregio
parent c0f7cecc6d
commit 4cbb057b97
+1 -1
View File
@@ -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') {