Explorar el Código

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

Dan Allen hace 2 años
padre
commit
4cbb057b97
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/spring-security-docs.gradle

+ 1 - 1
docs/spring-security-docs.gradle

@@ -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') {