From 4dd8bfde67eead8f7ccb519a748c8fd2ad4efbbb Mon Sep 17 00:00:00 2001 From: Jan Martiska Date: Thu, 4 Jul 2024 12:29:16 +0200 Subject: [PATCH] Extract macros in docs to avoid breaking regexes for downstream transformation --- .../asciidoc/security-openid-connect-client.adoc | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/src/main/asciidoc/security-openid-connect-client.adoc b/docs/src/main/asciidoc/security-openid-connect-client.adoc index 1e130e7916b38..689626a712484 100644 --- a/docs/src/main/asciidoc/security-openid-connect-client.adoc +++ b/docs/src/main/asciidoc/security-openid-connect-client.adoc @@ -113,6 +113,12 @@ ifndef::no-quarkus-oidc-token-propagation[] quarkus-resteasy-reactive ---- + +[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"] +.build.gradle +---- +implementation("io.quarkus:quarkus-oidc,oidc-client-reactive-filter,oidc-token-propagation-reactive,resteasy-reactive") +---- endif::no-quarkus-oidc-token-propagation[] ifdef::no-quarkus-oidc-token-propagation[] [source,xml,role="primary asciidoc-tabs-target-sync-cli asciidoc-tabs-target-sync-maven"] @@ -131,16 +137,7 @@ ifdef::no-quarkus-oidc-token-propagation[] quarkus-resteasy-reactive ---- -endif::no-quarkus-oidc-token-propagation[] -ifndef::no-quarkus-oidc-token-propagation[] -[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"] -.build.gradle ----- -implementation("io.quarkus:quarkus-oidc,oidc-client-reactive-filter,oidc-token-propagation-reactive,resteasy-reactive") ----- -endif::no-quarkus-oidc-token-propagation[] -ifdef::no-quarkus-oidc-token-propagation[] [source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"] .build.gradle ----