You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2026/03/26 02:27:20 UTC

(groovy) 01/03: minor refactor: remove a build warning related to asciidoc

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit e8dde27cbd9618175e4730182c3e11e5e8bafcaa
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Mar 26 12:26:41 2026 +1000

    minor refactor: remove a build warning related to asciidoc
---
 build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle b/build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle
index f89e06e850..06df2625a6 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle
@@ -55,12 +55,12 @@ asciidoctor {
     }
     outputDir = layout.buildDirectory.dir("asciidoc/html5")
     resources {
-        duplicatesStrategy = DuplicatesStrategy.WARN
-
         from("${rootProject.projectDir}/src/spec/doc/assets") {
             include 'css/style.css'
         }
-        from layout.buildDirectory.dir("tmp/asciidoctor-assets")
+        from(layout.buildDirectory.dir("tmp/asciidoctor-assets")) {
+            exclude 'css/style.css'
+        }
         into 'assets'
     }
     jvm {