mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-19 12:56:44 +00:00
enable fetch option in Antora unless Gradle is running in offline mode
This commit is contained in:
parent
c0f7cecc6d
commit
4cbb057b97
@ -13,7 +13,7 @@ antora {
|
|||||||
path = 'lib/antora/templates/per-branch-antora-playbook.yml'
|
path = 'lib/antora/templates/per-branch-antora-playbook.yml'
|
||||||
checkLocalBranch = true
|
checkLocalBranch = true
|
||||||
}
|
}
|
||||||
options = [clean: true, stacktrace: true]
|
options = [clean: true, fetch: !project.gradle.startParameter.offline, stacktrace: true]
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register('generateAntora') {
|
tasks.register('generateAntora') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user