From a2facf1e9b7483158c044b118531ed608d07a75b Mon Sep 17 00:00:00 2001 From: Jan Martiska Date: Tue, 2 Jul 2024 15:19:46 +0200 Subject: [PATCH] Extract macros in docs to avoid breaking regexes for downstream transformation --- .../asciidoc/security-openid-connect-client.adoc | 16 +++++++--------- 1 file changed, 7 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 455ca4b39c315..ef1c2287d3694 100644 --- a/docs/src/main/asciidoc/security-openid-connect-client.adoc +++ b/docs/src/main/asciidoc/security-openid-connect-client.adoc @@ -117,7 +117,14 @@ ifndef::no-quarkus-oidc-token-propagation[] quarkus-rest ---- + +[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"] +.build.gradle +---- +implementation("io.quarkus:quarkus-oidc,rest-client-oidc-filter,rest-client-oidc-token-propagation,rest") +---- 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"] .pom.xml @@ -135,16 +142,7 @@ ifdef::no-quarkus-oidc-token-propagation[] quarkus-rest ---- -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,rest-client-oidc-filter,rest-client-oidc-token-propagation,rest") ----- -endif::no-quarkus-oidc-token-propagation[] -ifdef::no-quarkus-oidc-token-propagation[] [source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"] .build.gradle ----