This is an automated email from the ASF dual-hosted git repository. benweidig pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tapestry-5-site-builder.git
commit f1d617860a2d4d8bd78b8a960b5a4b21fa1aab4d Author: Ben Weidig <[email protected]> AuthorDate: Sun Aug 23 12:04:12 2026 +0200 build(antora): copy .htaccess to output directory --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index 7c1678d..7548e0f 100644 --- a/build.gradle +++ b/build.gradle @@ -14,3 +14,13 @@ antora { 'asciidoctor-kroki' : '0.18.1' ] } + +tasks.register('copyStaticRootFiles', Copy) { + from('.htaccess') + into(layout.buildDirectory.dir('site')) + mustRunAfter('antora') +} + +tasks.named('antora') { + finalizedBy('copyStaticRootFiles') +}
