Skip to content

Commit 4cbb057

Browse files
mojavelinuxmarcusdacoregio
authored andcommitted
enable fetch option in Antora unless Gradle is running in offline mode
1 parent c0f7cec commit 4cbb057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spring-security-docs.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ antora {
1313
path = 'lib/antora/templates/per-branch-antora-playbook.yml'
1414
checkLocalBranch = true
1515
}
16-
options = [clean: true, stacktrace: true]
16+
options = [clean: true, fetch: !project.gradle.startParameter.offline, stacktrace: true]
1717
}
1818

1919
tasks.register('generateAntora') {

0 commit comments

Comments
 (0)